Skip to content

Commit

Permalink
removed bug where zombies could spawn at player base
Browse files Browse the repository at this point in the history
  • Loading branch information
AssassinTee committed Feb 2, 2019
1 parent dda7e10 commit 33c10c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/game/server/gamecontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,12 +1043,12 @@ bool IGameController::CanSpawn(int Team, vec2 *pOutPos) const

// first try own team spawn, then normal spawn and then enemy
EvaluateSpawnType(&Eval, 1+(Team&1));
if(!Eval.m_Got)
/*if(!Eval.m_Got)
{
EvaluateSpawnType(&Eval, 0);
if(!Eval.m_Got)
EvaluateSpawnType(&Eval, 1+((Team+1)&1));
}
EvaluateSpawnType(&Eval, 0);//Never EVER try enemy spawn
//if(!Eval.m_Got)
//EvaluateSpawnType(&Eval, 1+((Team+1)&1));
}*/
}
else
{
Expand Down

0 comments on commit 33c10c4

Please sign in to comment.