# HG changeset patch # User Adam Kaminski # Date 1633290700 14400 # Sun Oct 03 15:51:40 2021 -0400 # Node ID 74452d70546c7f757f22d7990a9839fac2942b54 # Parent 93a2d72f2a2251fe2f37ba85273fca3fe890ee32 Fixed the scoreboard not displaying the correct number of columns correctly. diff -r 93a2d72f2a22 -r 74452d70546c src/scoreboard.cpp --- a/src/scoreboard.cpp Sun Oct 03 12:38:58 2021 -0400 +++ b/src/scoreboard.cpp Sun Oct 03 15:51:40 2021 -0400 @@ -179,10 +179,10 @@ // First, determine how many columns we can use, based on our screen resolution. ulNumIdealColumns = 3; - if ( HUD_GetWidth( ) >= 480 ) + if ( HUD_GetWidth( ) >= 600 ) + ulNumIdealColumns = 5; + else if ( HUD_GetWidth( ) >= 480 ) ulNumIdealColumns = 4; - else if ( HUD_GetWidth( ) >= 600 ) - ulNumIdealColumns = 5; // The 5 column display is only availible for modes that support it. if (( ulNumIdealColumns == 5 ) && !( GAMEMODE_GetCurrentFlags() & (GMF_PLAYERSEARNPOINTS|GMF_PLAYERSEARNWINS) ))