Revision | df1b67d2088386853f20b00f9caf31fe013cfaf7 (tree) |
---|---|
Time | 2022-04-27 06:57:00 |
Author | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Removed an usused parameter in SCOREBOARD_ShouldDrawBoard.
@@ -225,7 +225,7 @@ | ||
225 | 225 | return; |
226 | 226 | |
227 | 227 | // Draw the main scoreboard. |
228 | - if (SCOREBOARD_ShouldDrawBoard( ulDisplayPlayer )) | |
228 | + if ( SCOREBOARD_ShouldDrawBoard( )) | |
229 | 229 | SCOREBOARD_Render( ulDisplayPlayer ); |
230 | 230 | |
231 | 231 | if ( CALLVOTE_ShouldShowVoteScreen( )) |
@@ -255,7 +255,7 @@ | ||
255 | 255 | return; |
256 | 256 | |
257 | 257 | // [RC] Hide this when the scoreboard is up to prevent overlapping. |
258 | - if ( SCOREBOARD_ShouldDrawBoard( consoleplayer )) | |
258 | + if ( SCOREBOARD_ShouldDrawBoard( )) | |
259 | 259 | return; |
260 | 260 | |
261 | 261 | ULONG ulColor = ( g_ulPSNArtifactHoldTicks > 3 * TICRATE ) ? CR_GRAY : CR_RED; |
@@ -148,7 +148,7 @@ | ||
148 | 148 | //***************************************************************************** |
149 | 149 | // Checks if the user wants to see the scoreboard and is allowed to. |
150 | 150 | // |
151 | -bool SCOREBOARD_ShouldDrawBoard( ULONG ulDisplayPlayer ) | |
151 | +bool SCOREBOARD_ShouldDrawBoard( void ) | |
152 | 152 | { |
153 | 153 | // [AK] If the user isn't pressing their scoreboard key then return false. |
154 | 154 | if ( Button_ShowScores.bDown == false ) |
@@ -88,9 +88,9 @@ | ||
88 | 88 | //***************************************************************************** |
89 | 89 | // PROTOTYPES |
90 | 90 | |
91 | +bool SCOREBOARD_ShouldDrawBoard( void ); | |
91 | 92 | void SCOREBOARD_Render( ULONG ulDisplayPlayer ); |
92 | 93 | void SCOREBOARD_BuildLimitStrings( std::list<FString> &lines, bool bAcceptColors ); |
93 | -bool SCOREBOARD_ShouldDrawBoard( ULONG ulDisplayPlayer ); | |
94 | 94 | LONG SCOREBOARD_GetLeftToLimit( void ); |
95 | 95 | void SCOREBOARD_SetNextLevel( const char *pszMapName ); |
96 | 96 |