mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-10 06:31:35 +00:00
Properly handle svc_maxammo for MAX AMMO! HUD Text
This commit is contained in:
parent
0eec42ed8c
commit
df0cb3bbea
1 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#include "quakedef.h"
|
||||
|
||||
extern qboolean domaxammo;
|
||||
|
||||
char *svc_strings[] =
|
||||
{
|
||||
"svc_bad",
|
||||
|
@ -1104,6 +1106,10 @@ void CL_ParseServerMessage (void)
|
|||
case svc_useprint:
|
||||
SCR_UsePrint (MSG_ReadByte (),MSG_ReadShort (),MSG_ReadByte ());
|
||||
break;
|
||||
|
||||
case svc_maxammo:
|
||||
domaxammo = true;
|
||||
break;
|
||||
|
||||
case svc_stufftext:
|
||||
Cbuf_AddText (MSG_ReadString ());
|
||||
|
|
Loading…
Reference in a new issue