diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-11-16 00:06:26 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-11-16 00:06:26 +0100 |
commit | 6f807b7ea45d846626d0e9c93b5f352a1fc25560 (patch) | |
tree | 986b98d58c1fb5004146b9c7df91b6d4d6acabb0 /src/game | |
parent | 88d21e69f50d4a86b2f64f5f78bdf8c6d152d951 (diff) |
Fix 88d21e69 disabling say_area completely.
Diffstat (limited to 'src/game')
-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++ ) |