- 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

@ -46,6 +46,8 @@ IMPLEMENT_CLASS (APowerup)
bool APowerupGiver::Use (bool pickup)
{
if (PowerupType == NULL) return true; // item is useless
APowerup *power = static_cast<APowerup *> (Spawn (PowerupType, 0, 0, 0, NO_REPLACE));
if (EffectTics != 0)