- Fixed HITTARGET, HITMASTER, HITTRACER, crash and xdeath states being broken on bouncing actors that die/explode.
This commit is contained in:
parent
1eb2c75328
commit
46ee2c5ec6
2 changed files with 9 additions and 6 deletions
|
|
@ -3535,9 +3535,9 @@ bool P_BounceActor(AActor *mo, AActor *BlockingMobj, bool ontop)
|
|||
if (mo->bouncecount>0 && --mo->bouncecount == 0)
|
||||
{
|
||||
if (mo->flags & MF_MISSILE)
|
||||
P_ExplodeMissile(mo, nullptr, nullptr);
|
||||
P_ExplodeMissile(mo, nullptr, BlockingMobj);
|
||||
else
|
||||
mo->CallDie(nullptr, nullptr);
|
||||
mo->CallDie(BlockingMobj, nullptr);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue