Add a comment for the last revision

This commit is contained in:
Yamagi Burmeister 2011-10-23 21:02:55 +00:00
parent ef85571d07
commit 034e72dced
1 changed files with 23 additions and 16 deletions

View File

@ -1185,6 +1185,13 @@ SelectSpawnPoint(edict_t *ent, vec3_t origin, vec3_t angles)
}
}
/* If we are in coop and we didn't find a coop
spawnpoint due to map bugs (not correctly
connected or the map was loaded via console
and thus no previously map is known to the
client) use one in 384 units radius. */
if (coop->value)
{
index = ent->client - game.clients;
while(counter < 3)
@ -1203,7 +1210,6 @@ SelectSpawnPoint(edict_t *ent, vec3_t origin, vec3_t angles)
if (index == counter)
{
spot = coopspot;
gi.dprintf("gotscha!\n");
break;
}
else
@ -1212,6 +1218,7 @@ SelectSpawnPoint(edict_t *ent, vec3_t origin, vec3_t angles)
}
}
}
}
VectorCopy(spot->s.origin, origin);
origin[2] += 9;