Add a comment for the last revision
This commit is contained in:
parent
ef85571d07
commit
034e72dced
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue