arena spawn fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2595 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-09-14 21:52:55 +00:00
parent 2a600c74cc
commit 14d0f95c09
+1 -1
View File
@@ -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