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
commit33f506a194ab68b0748ed273805544c04e30298d (patch)
treeccda2560cc4a8b9ed2663f8744576c8633ecef1b /player_gui.c
parent0961c6af964acd811524e453ccbc7c4a363c7780 (diff)
downloadopenttd-33f506a194ab68b0748ed273805544c04e30298d.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);
}
}