mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- 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:
parent
1107bebfcf
commit
88a0d22f23
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue