• R/O
  • SSH

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum Beta for TSPG.


コミットメタ情報

リビジョンd16007590caa64f362f116172590a1c5d5e6cced (tree)
日時2021-10-04 04:51:40
作者Adam Kaminski <kaminskiadam9@gmai...>
コミッターAdam Kaminski

ログメッセージ

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

変更サマリ

差分

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) ))