Small harmless bugfix in SV_SpawnSpectator.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@373 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-10-26 15:33:33 +00:00
parent f005b5bfd0
commit b5e691d873
1 changed files with 1 additions and 1 deletions

View File

@ -1030,7 +1030,7 @@ void SV_SpawnSpectator (void)
sv_player->v.movetype = MOVETYPE_NOCLIP;
// search for an info_playerstart to spawn the spectator at
for (i=MAX_CLIENTS-1 ; i<sv.num_edicts ; i++)
for (i=MAX_CLIENTS+1 ; i<sv.num_edicts ; i++)
{
e = EDICT_NUM(svprogfuncs, i);
if (!strcmp(PR_GetString(svprogfuncs, e->v.classname), "info_player_start"))