patch for old showmenus
This commit is contained in:
1 parent
e816c86d7a
commit
8cc10bdb3d
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user