Made more code for Team Arena be inside ifdef MISSIONPACK, from Ensiform.
This commit is contained in:
parent
a375f898f5
commit
56a918b9ac
6 changed files with 32 additions and 8 deletions
|
@ -22,7 +22,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
//
|
||||
#include "g_local.h"
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
#include "../../ui/menudef.h" // for the voice chats
|
||||
#endif
|
||||
|
||||
/*
|
||||
==================
|
||||
|
@ -937,6 +939,7 @@ static void Cmd_Tell_f( gentity_t *ent ) {
|
|||
}
|
||||
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
static void G_VoiceTo( gentity_t *ent, gentity_t *other, int mode, const char *id, qboolean voiceonly ) {
|
||||
int color;
|
||||
char *cmd;
|
||||
|
@ -1132,6 +1135,7 @@ static void Cmd_VoiceTaunt_f( gentity_t *ent ) {
|
|||
// just say something
|
||||
G_Voice( ent, NULL, SAY_ALL, VOICECHAT_TAUNT, qfalse );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
@ -1605,6 +1609,7 @@ void ClientCommand( int clientNum ) {
|
|||
Cmd_Tell_f ( ent );
|
||||
return;
|
||||
}
|
||||
#ifdef MISSIONPACK
|
||||
if (Q_stricmp (cmd, "vsay") == 0) {
|
||||
Cmd_Voice_f (ent, SAY_ALL, qfalse, qfalse);
|
||||
return;
|
||||
|
@ -1633,6 +1638,7 @@ void ClientCommand( int clientNum ) {
|
|||
Cmd_VoiceTaunt_f ( ent );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
if (Q_stricmp (cmd, "score") == 0) {
|
||||
Cmd_Score_f (ent);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue