Revert "- removed STAT_INVENTORY."
This reverts commit 5ff0abe568.
- use STAT_INVENTORY only for held items.
Seems this was causing some strange issues with hubs, but for items placed in the world it still cannot be allowed to have them in a different statnum.
This commit is contained in:
parent
48430d9b1a
commit
9ca6764556
3 changed files with 4 additions and 2 deletions
|
|
@ -1280,7 +1280,7 @@ void G_FinishTravel ()
|
|||
|
||||
for (inv = pawn->Inventory; inv != NULL; inv = inv->Inventory)
|
||||
{
|
||||
inv->ChangeStatNum (STAT_DEFAULT);
|
||||
inv->ChangeStatNum (STAT_INVENTORY);
|
||||
inv->LinkToWorld ();
|
||||
inv->Travelled ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue