- 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:
parent
4376c6b415
commit
9d47afb304
6 changed files with 16 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue