projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e517a
)
fixed viewport properties for score info page
author
Holger Schemel
<info@artsoft.org>
Tue, 12 Apr 2022 21:13:10 +0000
(23:13 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 12 Apr 2022 21:13:10 +0000
(23:13 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 464a4fb14a797c4f4818481d2b2ef041cda3bf6b..83b61d9c54e2c490e26422356a2b5be61b35c407 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-9740,7
+9740,8
@@
void ChangeViewportPropertiesIfNeeded(void)
{
boolean use_mini_tilesize = (level.game_engine_type == GAME_ENGINE_TYPE_MM ?
FALSE : setup.small_game_graphics);
- int gfx_game_mode = game_status;
+ int gfx_game_mode = (game_status == GAME_MODE_SCOREINFO ? GAME_MODE_SCORES :
+ game_status);
int gfx_game_mode2 = (game_status == GAME_MODE_EDITOR ? GAME_MODE_DEFAULT :
game_status);
struct RectWithBorder *vp_window = &viewport.window[gfx_game_mode];