Commit MetaInfo

Revisiondf1b67d2088386853f20b00f9caf31fe013cfaf7 (tree)
Time2022-04-27 06:57:00
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Removed an usused parameter in SCOREBOARD_ShouldDrawBoard.

Change Summary

Incremental Difference

diff -r 9ebf9fc0d009 -r df1b67d20883 src/g_shared/st_hud.cpp
--- a/src/g_shared/st_hud.cpp Sat Apr 23 20:19:52 2022 -0400
+++ b/src/g_shared/st_hud.cpp Tue Apr 26 17:57:00 2022 -0400
@@ -225,7 +225,7 @@
225225 return;
226226
227227 // Draw the main scoreboard.
228- if (SCOREBOARD_ShouldDrawBoard( ulDisplayPlayer ))
228+ if ( SCOREBOARD_ShouldDrawBoard( ))
229229 SCOREBOARD_Render( ulDisplayPlayer );
230230
231231 if ( CALLVOTE_ShouldShowVoteScreen( ))
diff -r 9ebf9fc0d009 -r df1b67d20883 src/possession.cpp
--- a/src/possession.cpp Sat Apr 23 20:19:52 2022 -0400
+++ b/src/possession.cpp Tue Apr 26 17:57:00 2022 -0400
@@ -255,7 +255,7 @@
255255 return;
256256
257257 // [RC] Hide this when the scoreboard is up to prevent overlapping.
258- if ( SCOREBOARD_ShouldDrawBoard( consoleplayer ))
258+ if ( SCOREBOARD_ShouldDrawBoard( ))
259259 return;
260260
261261 ULONG ulColor = ( g_ulPSNArtifactHoldTicks > 3 * TICRATE ) ? CR_GRAY : CR_RED;
diff -r 9ebf9fc0d009 -r df1b67d20883 src/scoreboard.cpp
--- a/src/scoreboard.cpp Sat Apr 23 20:19:52 2022 -0400
+++ b/src/scoreboard.cpp Tue Apr 26 17:57:00 2022 -0400
@@ -148,7 +148,7 @@
148148 //*****************************************************************************
149149 // Checks if the user wants to see the scoreboard and is allowed to.
150150 //
151-bool SCOREBOARD_ShouldDrawBoard( ULONG ulDisplayPlayer )
151+bool SCOREBOARD_ShouldDrawBoard( void )
152152 {
153153 // [AK] If the user isn't pressing their scoreboard key then return false.
154154 if ( Button_ShowScores.bDown == false )
diff -r 9ebf9fc0d009 -r df1b67d20883 src/scoreboard.h
--- a/src/scoreboard.h Sat Apr 23 20:19:52 2022 -0400
+++ b/src/scoreboard.h Tue Apr 26 17:57:00 2022 -0400
@@ -88,9 +88,9 @@
8888 //*****************************************************************************
8989 // PROTOTYPES
9090
91+bool SCOREBOARD_ShouldDrawBoard( void );
9192 void SCOREBOARD_Render( ULONG ulDisplayPlayer );
9293 void SCOREBOARD_BuildLimitStrings( std::list<FString> &lines, bool bAcceptColors );
93-bool SCOREBOARD_ShouldDrawBoard( ULONG ulDisplayPlayer );
9494 LONG SCOREBOARD_GetLeftToLimit( void );
9595 void SCOREBOARD_SetNextLevel( const char *pszMapName );
9696
Show on old repository browser