summaryrefslogtreecommitdiff
path: root/src/hexen/p_tick.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/p_tick.c')
-rw-r--r--src/hexen/p_tick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/p_tick.c b/src/hexen/p_tick.c
index aac61ff8..95242ccd 100644
--- a/src/hexen/p_tick.c
+++ b/src/hexen/p_tick.c
@@ -58,7 +58,7 @@ void P_Ticker(void)
{
return;
}
- for (i = 0; i < MAXPLAYERS; i++)
+ for (i = 0; i < maxplayers; i++)
{
if (playeringame[i])
{