- added 'damage' to the actor variables exported to DECORATE's expression

evaluator.
- fixed: solid corpses could block ripper missile that originally killed them.


SVN r1520 (trunk)
This commit is contained in:
Christoph Oelckers 2009-04-04 09:28:10 +00:00
commit 9d47afb304
6 changed files with 16 additions and 1 deletions

View file

@ -834,6 +834,11 @@ bool PIT_CheckThing (AActor *thing, FCheckPosition &tm)
{
return true;
}
// Check for rippers passing through corpses
if ((thing->flags & MF_CORPSE) && (tm.thing->flags2 & MF2_RIP) && !(thing->flags & MF_SHOOTABLE))
{
return true;
}
int clipheight;