patch for old showmenus
This commit is contained in:
parent
e816c86d7a
commit
8cc10bdb3d
@ -716,7 +716,7 @@ void C_ClientCommand(edict_t *pEntity)
|
||||
|
||||
if (pPlayer->keys & bit_key)
|
||||
{
|
||||
if (gpGlobals->time > pPlayer->menuexpire)
|
||||
if ((pPlayer->menu > 0) && (gpGlobals->time > pPlayer->menuexpire))
|
||||
{
|
||||
pPlayer->menu = 0;
|
||||
pPlayer->keys = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user