- 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:
parent
3cb073a3a0
commit
4fd717046e
8 changed files with 48 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue