summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_cmds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index fb59950..99d24d1 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1309,6 +1309,9 @@ static void Cmd_SayArea_f( gentity_t *ent )
VectorSubtract( ent->s.origin, range, mins );
num = trap_EntitiesInBox( mins, maxs, entityList, MAX_GENTITIES );
+
+ // FIXME: the commented out bit causes segfaults
+/*
for( i = 0; i < num; i++ )
{
if (g_clients[entityList[i]].pers.connected != CON_DISCONNECTED && g_clients[entityList[i]].pers.control != 0)
@@ -1320,6 +1323,7 @@ static void Cmd_SayArea_f( gentity_t *ent )
}
G_SayTo( ent, &g_entities[ entityList[ i ] ], SAY_TEAM, color, name, msg, prefix );
}
+*/
//Send to ADMF_SPEC_ALLCHAT candidates
for( i = 0; i < level.maxclients; i++ )