patch for old showmenus

This commit is contained in:
Borja Ferrer 2005-11-15 21:58:47 +00:00
parent e816c86d7a
commit 8cc10bdb3d

View File

@ -716,7 +716,7 @@ void C_ClientCommand(edict_t *pEntity)
if (pPlayer->keys & bit_key) if (pPlayer->keys & bit_key)
{ {
if (gpGlobals->time > pPlayer->menuexpire) if ((pPlayer->menu > 0) && (gpGlobals->time > pPlayer->menuexpire))
{ {
pPlayer->menu = 0; pPlayer->menu = 0;
pPlayer->keys = 0; pPlayer->keys = 0;