mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
ixed he irst etter issing roblem
This commit is contained in:
parent
9a9384f6a9
commit
9c399a04e5
2 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
qstructs.h - common structures
|
||||
Copyright (C) 1996-1997 Id Software, Inc.
|
||||
Copyright (C) 1999,2000 contributors of the QuakeForge project
|
||||
Please see the file "AUTHORS" for a list of contributors
|
||||
|
@ -124,6 +125,8 @@ typedef struct
|
|||
|
||||
entity_t viewent; // weapon model
|
||||
int playernum;
|
||||
int gametype;
|
||||
int maxclients;
|
||||
|
||||
#ifdef QUAKEWORLD
|
||||
// QW specific!
|
||||
|
@ -163,8 +166,6 @@ typedef struct
|
|||
qboolean inwater;
|
||||
float viewheight;
|
||||
float idealpitch;
|
||||
int maxclients;
|
||||
int gametype;
|
||||
// frag scoreboard
|
||||
scoreboard_t *scores; // [cl.maxclients]
|
||||
|
||||
|
|
|
@ -532,6 +532,7 @@ void CL_ParseServerMessage (void)
|
|||
{
|
||||
int cmd;
|
||||
int i;
|
||||
char ch;
|
||||
|
||||
//
|
||||
// if recording demos, copy the message out
|
||||
|
@ -601,12 +602,12 @@ void CL_ParseServerMessage (void)
|
|||
Host_EndGame ("Server disconnected\n");
|
||||
|
||||
case svc_print:
|
||||
i = MSG_ReadByte ();
|
||||
if (i == 1) {
|
||||
ch = MSG_ReadChar ();
|
||||
if (ch == '\x01') {
|
||||
S_LocalSound ("misc/talk.wav");
|
||||
con_ormask = 128;
|
||||
}
|
||||
Con_Printf ("%s", MSG_ReadString ());
|
||||
Con_Printf ("%c%s", ch, MSG_ReadString ());
|
||||
con_ormask = 0;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue