added /GL to msvc
autovacate checker fixed
This commit is contained in:
parent
9e5c1540f9
commit
e65cb3a6c2
2 changed files with 7 additions and 3 deletions
|
|
@ -207,6 +207,7 @@
|
|||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
|
|
@ -239,7 +240,7 @@
|
|||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
||||
<ImageHasSafeExceptionHandlers>
|
||||
</ImageHasSafeExceptionHandlers>
|
||||
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
<FullProgramDatabaseFile>true</FullProgramDatabaseFile>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
|
|
|
|||
|
|
@ -340,10 +340,11 @@ void BotManager::AdjustQuota (bool isPlayerConnection, edict_t *ent)
|
|||
if (yb_autovacate_smart_kick.GetBool ())
|
||||
AddPlayerToCheckTeamQueue (ent);
|
||||
else
|
||||
{
|
||||
RemoveRandom ();
|
||||
|
||||
m_balanceCount--;
|
||||
}
|
||||
}
|
||||
else if (m_balanceCount <= 0)
|
||||
{
|
||||
AddRandom ();
|
||||
|
|
@ -385,7 +386,9 @@ void BotManager::VerifyPlayersHasJoinedTeam (int &desiredCount)
|
|||
if (cl.ent != m_trackedPlayers[it])
|
||||
continue;
|
||||
|
||||
m_balanceCount--;
|
||||
desiredCount--;
|
||||
|
||||
m_trackedPlayers.RemoveAt (it);
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue