talk sound now happens in UQ again

This commit is contained in:
Joseph Carter 2000-02-03 10:56:46 +00:00
parent e9e147fe84
commit cdee91b71f
2 changed files with 18 additions and 12 deletions

View file

@ -1,4 +1,5 @@
/*
console.c
Copyright (C) 1996-1997 Id Software, Inc.
Portions Copyright (C) 1999,2000 Nelson Rush.
Copyright (C) 1999,2000 contributors of the QuakeForge project
@ -20,17 +21,16 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// console.c
#include "qtypes.h"
#include "quakedef.h"
#include "console.h"
#include "keys.h"
#include "lib_replace.h"
#include "client.h"
#include "cvar.h"
#include "screen.h"
#include "draw.h"
#include <qtypes.h>
#include <quakedef.h>
#include <console.h>
#include <keys.h>
#include <lib_replace.h>
#include <client.h>
#include <cvar.h>
#include <screen.h>
#include <draw.h>
#include <cmd.h>
#include <sys.h>

View file

@ -1,4 +1,5 @@
/*
cl_parse.c - parse a message received from the server
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
@ -17,9 +18,8 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// cl_parse.c -- parse a message received from the server
#include "quakedef.h"
#include <quakedef.h>
#include <protocol.h>
#include <sound.h>
#include <net.h>
@ -601,7 +601,13 @@ void CL_ParseServerMessage (void)
Host_EndGame ("Server disconnected\n");
case svc_print:
i = MSG_ReadByte ();
if (i == 1) {
S_LocalSound ("misc/talk.wav");
con_ormask = 128;
}
Con_Printf ("%s", MSG_ReadString ());
con_ormask = 0;
break;
case svc_centerprint: