- fixed: Dehacked replaced pickups multiple times for changing its states.

- fixed: Dehacked must copy AInventory's state to any item it hacks to be a 
  pickup.
- fixed a few more DECORATE bugs.


SVN r1166 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-13 09:11:19 +00:00
commit 4fd717046e
8 changed files with 48 additions and 10 deletions

View file

@ -837,6 +837,8 @@ void AInventory::Hide ()
}
}
assert(HideDoomishState != NULL || HideSpecialState != NULL);
if (HideSpecialState != NULL)
{
SetState (HideSpecialState);
@ -848,11 +850,6 @@ void AInventory::Hide ()
SetState (HideDoomishState);
tics = 1050;
}
else
{
GoAwayAndDie();
return;
}
if (RespawnTics != 0)
{
tics = RespawnTics;