mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Merge b9f0cf9189
into cd7ff9d05f
This commit is contained in:
commit
7033669bcb
1 changed files with 5 additions and 0 deletions
|
@ -266,6 +266,11 @@ void CTFPlayerDestructionLogic::EvaluatePlayerCount()
|
|||
CollectPlayers( &vecAllPlayers );
|
||||
|
||||
m_nMaxPoints = Max( m_nMinPoints, m_nPointsPerPlayer * vecAllPlayers.Count() );
|
||||
|
||||
if ( m_nRedScore.Get() >= m_nMaxPoints || m_nBlueScore.Get() >= m_nMaxPoints )
|
||||
{
|
||||
m_nMaxPoints = Max( m_nRedScore.Get(), m_nBlueScore.Get() ) + 1;
|
||||
}
|
||||
}
|
||||
|
||||
void CTFPlayerDestructionLogic::InputScoreRedPoints( inputdata_t& inputdata )
|
||||
|
|
Loading…
Reference in a new issue