• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

This is a fork of Zandronum Beta for TSPG.


Commit MetaInfo

Revisiond16007590caa64f362f116172590a1c5d5e6cced (tree)
Time2021-10-04 04:51:40
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed the scoreboard not displaying the correct number of columns correctly.

Change Summary

Incremental Difference

diff -r 59f1474300fa -r d16007590caa src/scoreboard.cpp
--- a/src/scoreboard.cpp Sun Oct 03 15:46:48 2021 -0400
+++ b/src/scoreboard.cpp Sun Oct 03 15:51:40 2021 -0400
@@ -179,10 +179,10 @@
179179 // First, determine how many columns we can use, based on our screen resolution.
180180 ulNumIdealColumns = 3;
181181
182- if ( HUD_GetWidth( ) >= 480 )
182+ if ( HUD_GetWidth( ) >= 600 )
183+ ulNumIdealColumns = 5;
184+ else if ( HUD_GetWidth( ) >= 480 )
183185 ulNumIdealColumns = 4;
184- else if ( HUD_GetWidth( ) >= 600 )
185- ulNumIdealColumns = 5;
186186
187187 // The 5 column display is only availible for modes that support it.
188188 if (( ulNumIdealColumns == 5 ) && !( GAMEMODE_GetCurrentFlags() & (GMF_PLAYERSEARNPOINTS|GMF_PLAYERSEARNWINS) ))