mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-12 23:44:38 +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"
|
#include "quakedef.h"
|
||||||
|
|
||||||
|
extern qboolean domaxammo;
|
||||||
|
|
||||||
char *svc_strings[] =
|
char *svc_strings[] =
|
||||||
{
|
{
|
||||||
"svc_bad",
|
"svc_bad",
|
||||||
|
@ -1104,6 +1106,10 @@ void CL_ParseServerMessage (void)
|
||||||
case svc_useprint:
|
case svc_useprint:
|
||||||
SCR_UsePrint (MSG_ReadByte (),MSG_ReadShort (),MSG_ReadByte ());
|
SCR_UsePrint (MSG_ReadByte (),MSG_ReadShort (),MSG_ReadByte ());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case svc_maxammo:
|
||||||
|
domaxammo = true;
|
||||||
|
break;
|
||||||
|
|
||||||
case svc_stufftext:
|
case svc_stufftext:
|
||||||
Cbuf_AddText (MSG_ReadString ());
|
Cbuf_AddText (MSG_ReadString ());
|
||||||
|
|
Loading…
Reference in a new issue