diff options
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index eef4f1ad..085b394c 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -209,7 +209,7 @@ g_admin_cmd_t g_admin_cmds[ ] = } }; -static size_t adminNumCmds = sizeof( g_admin_cmds ) / sizeof( g_admin_cmds[ 0 ] ); +static size_t adminNumCmds = ARRAY_LEN( g_admin_cmds ); static int admin_level_maxname = 0; g_admin_level_t *g_admin_levels = NULL; |