diff options
-rw-r--r-- | src/game/g_cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 99d24d1..8822d1e 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1310,10 +1310,10 @@ static void Cmd_SayArea_f( gentity_t *ent ) num = trap_EntitiesInBox( mins, maxs, entityList, MAX_GENTITIES ); - // FIXME: the commented out bit causes segfaults -/* for( i = 0; i < num; i++ ) { + // FIXME: the commented out bit causes segfaults +/* if (g_clients[entityList[i]].pers.connected != CON_DISCONNECTED && g_clients[entityList[i]].pers.control != 0) { if (g_clients[entityList[i]].pers.control < 0) @@ -1321,9 +1321,9 @@ static void Cmd_SayArea_f( gentity_t *ent ) if (G_SayTo(ent, &g_entities[g_clients[entityList[i]].pers.control - 1], SAY_TEAM, color, name, msg, prefix)) continue; } +*/ 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++ ) |