summaryrefslogtreecommitdiff
path: root/src/game/g_svcmds.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-03 11:36:04 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:09 +0000
commit3a51f3d17095fd06471ae1b589cb211f569b625e (patch)
treef4b5d54d6dc643734dfc82d7b7ccdca22374d36b /src/game/g_svcmds.c
parent0a04a17d0a1ad5718d78905eb90418eb866687c4 (diff)
* (bug 3057) Granger breaks under certain conditions (Risujin)
* (bug 3256) G_admin_print to a tty should not decolour if com_ansiColor is set (Ben Millwood) * (bug 3392) Console is affected by flag @ (Chris "Lakitu7" Schwarz) * Automatically load default admin levels when g_admin is disabled, since admin commands can still be used (since r894) * Make return value of G_SelectiveRadiusDamage useful and use it for Overmind and Reactor attacks * /entitylist was skipping entity 0 * Check original search string against IP and slot number for !ban * Preserve score and ping so they are always reported correctly * Random refactoring and formatting fixes
Diffstat (limited to 'src/game/g_svcmds.c')
-rw-r--r--src/game/g_svcmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index 34ff66c5..7cf3a97d 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -344,9 +344,9 @@ void Svcmd_EntityList_f( void )
int e;
gentity_t *check;
- check = g_entities + 1;
+ check = g_entities;
- for( e = 1; e < level.num_entities; e++, check++ )
+ for( e = 0; e < level.num_entities; e++, check++ )
{
if( !check->inuse )
continue;