no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@684 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-15 20:19:40 +00:00
parent 4197298885
commit ff4773a3a6
+1 -1
View File
@@ -326,7 +326,7 @@ int findplayerstart(playerent *d)
loopi(r)
{
spawncycle = findentity(PLAYERSTART, spawncycle+1, rb_team_int(d->team));
spawncycle = findentity(PLAYERSTART, spawncycle+1);
if(spawncycle < 0 || spawncycle >= ents.length()) continue;
float dist = nearestenemy(vec(ents[spawncycle].x, ents[spawncycle].y, ents[spawncycle].z), d->team);
if(dist == -2 || (bestdist != -2 && dist > bestdist) || bestent == -1) { bestent = spawncycle; bestdist = dist; }