- Fixed: Missiles that exploded on a wall because they exhausted their bounce count did not leave decals.

SVN r3445 (trunk)
This commit is contained in:
Randy Heit 2012-03-16 01:17:12 +00:00
parent 73c55b52f9
commit e6a0fbe4db

View file

@ -2779,7 +2779,7 @@ bool FSlide::BounceWall (AActor *mo)
if (mo->bouncecount>0 && --mo->bouncecount==0) if (mo->bouncecount>0 && --mo->bouncecount==0)
{ {
if (mo->flags & MF_MISSILE) if (mo->flags & MF_MISSILE)
P_ExplodeMissile(mo, NULL, NULL); P_ExplodeMissile(mo, line, NULL);
else else
mo->Die(NULL, NULL); mo->Die(NULL, NULL);
return true; return true;