- Fixed: Player turned into a zombie if exiting telefragged in buddha mode.

- Fixed: Players could drop their inventory after dying.
This commit is contained in:
Braden Obrzut 2014-07-15 20:16:28 -04:00
commit 2020769967
2 changed files with 5 additions and 2 deletions

View file

@ -2163,7 +2163,8 @@ void Net_DoCommand (int type, BYTE **stream, int player)
{
DWORD which = ReadLong (stream);
if (gamestate == GS_LEVEL && !paused)
if (gamestate == GS_LEVEL && !paused
&& players[player].playerstate != PST_DEAD)
{
AInventory *item = players[player].mo->Inventory;
while (item != NULL && item->InventoryID != which)