summaryrefslogtreecommitdiff
path: root/player_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-15 00:46:45 +0000
committerdarkvater <darkvater@openttd.org>2005-01-15 00:46:45 +0000
commit75474e5bf1bffa805102e0af87b43d9a51618fa1 (patch)
treeccda2560cc4a8b9ed2663f8744576c8633ecef1b /player_gui.c
parentc3a40dba6882c83d35db0d6b0c71060f4c0c62d9 (diff)
downloadopenttd-75474e5bf1bffa805102e0af87b43d9a51618fa1.tar.xz
(svn r1516) -Cheating players do not get their names added to the highscore table/file
-Fixed issue where highscore window would not come up after endgame screen -Fix: VS6 compiles once again (braindead compiler)
Diffstat (limited to 'player_gui.c')
-rw-r--r--player_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player_gui.c b/player_gui.c
index b262a6675..94286c4a3 100644
--- a/player_gui.c
+++ b/player_gui.c
@@ -796,8 +796,8 @@ static void EndGameWndProc(Window *w, WindowEvent *e)
} break;
case WE_CLICK: /* OnClick show the highscore chart */
DoCommandP(0, 0, 0, NULL, CMD_PAUSE);
- ShowHighscoreTable(w->window_number, WP(w, highscore_d).rank);
DeleteWindow(w);
+ ShowHighscoreTable(w->window_number, WP(w, highscore_d).rank);
}
}