From 0f1f876874b53f6723a5e7d3f5dc68214c5221de Mon Sep 17 00:00:00 2001 From: Deve Date: Tue, 4 Sep 2018 21:15:19 +0200 Subject: [PATCH] Revert "Change highscore limit from 3 to 5 (#3417)" This reverts commit 84359ad7da482ac6002986569533c178f80fcaba. It broke "Max players supported" text in arena info screen. It also doesn't work well for hidpi_enabled property that is used on android. Additionally it causes incompatibility with older STK versions (STK 0.9.3 crashes when there is more than 3 entries in hiscore.xml). Fixes #3424 Fixes #3425 --- data/gui/track_info.stkgui | 28 +++++------------------- src/race/highscores.hpp | 2 +- src/states_screens/race_result_gui.cpp | 2 +- src/states_screens/track_info_screen.cpp | 24 +++++++++++--------- src/states_screens/track_info_screen.hpp | 2 +- 5 files changed, 23 insertions(+), 35 deletions(-) diff --git a/data/gui/track_info.stkgui b/data/gui/track_info.stkgui index 898af703c..ccd88b596 100644 --- a/data/gui/track_info.stkgui +++ b/data/gui/track_info.stkgui @@ -2,12 +2,12 @@ -
+
- +
@@ -24,7 +24,7 @@
- +
@@ -32,7 +32,7 @@
- +
@@ -40,22 +40,6 @@
- - -
- - -
- - - -
- - -
-
- +