summaryrefslogtreecommitdiff
path: root/intro_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-06 22:46:02 +0000
committerdarkvater <darkvater@openttd.org>2004-09-06 22:46:02 +0000
commit9a6870fcfdf9df6de6d7d6959e1a06192a47b958 (patch)
tree2dd025d63e54b3bdf5bb4e25c3ef032899bc86ca /intro_gui.c
parentc1e464f1ead5e7b1b021db1752cae3d9dc2c2822 (diff)
downloadopenttd-9a6870fcfdf9df6de6d7d6959e1a06192a47b958.tar.xz
(svn r173) -Network: [1023231] Debug Code + ErrorBoxes + Load Game/Scenario. Added some more desync debug code and replaced some of the error() calls with some better error boxes. Hopefully find desyncs easier (sign_de)
-GUI: Change some network GUI stuff (Darkvater)
Diffstat (limited to 'intro_gui.c')
-rw-r--r--intro_gui.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/intro_gui.c b/intro_gui.c
index f53ab4145..f1e546763 100644
--- a/intro_gui.c
+++ b/intro_gui.c
@@ -61,7 +61,10 @@ static void SelectGameWndProc(Window *w, WindowEvent *e) {
case 7:
if (!_network_available) {
ShowErrorMessage(-1,STR_NETWORK_ERR_NOTAVAILABLE, 0, 0);
- } else ShowNetworkGameWindow();
+ } else {
+ ShowNetworkGameWindow();
+ ShowErrorMessage(-1, TEMP_STRING_NO_NETWORK, 0, 0);
+ }
break;
case 8: ShowGameOptions(); break;
case 9: ShowGameDifficulty(); break;