Revision | b863f39847ce8700bd1afa674de498dc3c706d97 (tree) |
---|---|
Time | 2022-02-11 02:27:13 |
Author | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Renamed TEAM_GetHighestScoreCount to TEAM_GetHighestPointCount.
@@ -1901,7 +1901,7 @@ | ||
1901 | 1901 | } |
1902 | 1902 | else |
1903 | 1903 | { |
1904 | - if ( TEAM_GetHighestScoreCount( ) >= pointlimit) | |
1904 | + if ( TEAM_GetHighestPointCount( ) >= pointlimit) | |
1905 | 1905 | bLimitHit = true; |
1906 | 1906 | } |
1907 | 1907 |
@@ -264,7 +264,7 @@ | ||
264 | 264 | else if ( pointlimit && GAMEMODE_GetCurrentFlags() & GMF_PLAYERSEARNPOINTS ) |
265 | 265 | { |
266 | 266 | if ( teamgame || teampossession ) |
267 | - return ( pointlimit - TEAM_GetHighestScoreCount( )); | |
267 | + return ( pointlimit - TEAM_GetHighestPointCount( )); | |
268 | 268 | else // Must be possession mode. |
269 | 269 | { |
270 | 270 | LONG lHighestPointCount = INT_MIN; |
@@ -816,7 +816,7 @@ | ||
816 | 816 | if ( SERVER_CountPlayers( true )) |
817 | 817 | { |
818 | 818 | if ( GAMEMODE_GetCurrentFlags() & GMF_PLAYERSEARNPOINTS ) |
819 | - lHighestScore = TEAM_GetHighestScoreCount( ); | |
819 | + lHighestScore = TEAM_GetHighestPointCount( ); | |
820 | 820 | else |
821 | 821 | lHighestScore = TEAM_GetHighestFragCount( ); |
822 | 822 |
@@ -1587,20 +1587,20 @@ | ||
1587 | 1587 | |
1588 | 1588 | //***************************************************************************** |
1589 | 1589 | // |
1590 | -LONG TEAM_GetHighestScoreCount( void ) | |
1590 | +LONG TEAM_GetHighestPointCount( void ) | |
1591 | 1591 | { |
1592 | - LONG lScoreCount = LONG_MIN; | |
1592 | + LONG lPointCount = LONG_MIN; | |
1593 | 1593 | |
1594 | 1594 | for ( ULONG i = 0; i < teams.Size( ); i++ ) |
1595 | 1595 | { |
1596 | 1596 | if ( teamgame == false && TEAM_CountPlayers( i ) < 1 ) |
1597 | 1597 | continue; |
1598 | 1598 | |
1599 | - if ( lScoreCount < TEAM_GetPointCount( i )) | |
1600 | - lScoreCount = TEAM_GetPointCount( i ); | |
1599 | + if ( lPointCount < TEAM_GetPointCount( i )) | |
1600 | + lPointCount = TEAM_GetPointCount( i ); | |
1601 | 1601 | } |
1602 | 1602 | |
1603 | - return lScoreCount; | |
1603 | + return lPointCount; | |
1604 | 1604 | } |
1605 | 1605 | |
1606 | 1606 | //***************************************************************************** |
@@ -173,7 +173,7 @@ | ||
173 | 173 | |
174 | 174 | LONG TEAM_GetHighestFragCount( void ); |
175 | 175 | LONG TEAM_GetHighestWinCount( void ); |
176 | -LONG TEAM_GetHighestScoreCount( void ); | |
176 | +LONG TEAM_GetHighestPointCount( void ); | |
177 | 177 | |
178 | 178 | LONG TEAM_GetSpread ( ULONG ulTeam, LONG (*GetCount) ( ULONG ulTeam ) ); |
179 | 179 | LONG TEAM_GetFragCountSpread ( ULONG ulTeam ); |
@@ -396,7 +396,7 @@ | ||
396 | 396 | if ( players[consoleplayer].bOnTeam == false ) |
397 | 397 | return ( 2 ); |
398 | 398 | |
399 | - if ( TEAM_GetPointCount( players[consoleplayer].Team ) == TEAM_GetHighestScoreCount( )) | |
399 | + if ( TEAM_GetPointCount( players[consoleplayer].Team ) == TEAM_GetHighestPointCount( )) | |
400 | 400 | return ( 1 ); |
401 | 401 | else |
402 | 402 | return ( 2 ); |