From 14d0f95c09f70680d1903c901ad00f0224f1e297 Mon Sep 17 00:00:00 2001 From: ac_stef Date: Sun, 14 Sep 2008 21:52:55 +0000 Subject: [PATCH] arena spawn fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2595 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 91078b25..07ba2cec 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -383,7 +383,7 @@ void findplayerstart(playerent *d, bool mapcenter, int arenaspawn) if(m_arena && arenaspawn > -1) { int x = -1; - loopi(arenaspawn) x = findentity(PLAYERSTART, x+1, type); + loopi(arenaspawn + 1) x = findentity(PLAYERSTART, x+1, type); if(x >= 0) e = &ents[x]; } else if((m_teammode || m_arena) && !(m_ktf || m_tktf)) // ktf uses ffa spawns