- Fixed: Playing strife forced the inventory to be used immediately instead of being determined by the presence of an inventory overlay.

SVN r4173 (trunk)
This commit is contained in:
Braden Obrzut 2013-03-03 19:12:21 +00:00
parent 1107bebfcf
commit 88a0d22f23
2 changed files with 2 additions and 1 deletions

View file

@ -414,7 +414,7 @@ CCMD (invuseall)
CCMD (invuse)
{
if (players[consoleplayer].inventorytics == 0 || gameinfo.gametype == GAME_Strife)
if (players[consoleplayer].inventorytics == 0)
{
if (players[consoleplayer].mo) SendItemUse = players[consoleplayer].mo->InvSel;
}

View file

@ -445,6 +445,7 @@ private:
}
// Inventory
CPlayer->inventorytics = 0;
CPlayer->mo->InvFirst = ValidateInvFirst (6);
for (item = CPlayer->mo->InvFirst, i = 0; item != NULL && i < 6; item = item->NextInv(), ++i)
{