diff options
| author | Dusan Durech <dusan@debian.(none)> | 2009-12-27 19:55:04 +0100 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.(none)> | 2009-12-27 19:55:04 +0100 |
| commit | 5fe4e9c7370f2c8a8a3e77d97c2b4c6abe6d8b90 (patch) | |
| tree | 879ae96d1194fbaabbfe312d0c47c5b01f73557e /src | |
| parent | f2a093784ddca0863792aada235564ce2901d0da (diff) | |
fix todo BUG: in network play, there is no reason for save dialog
Diffstat (limited to 'src')
| -rw-r--r-- | src/screen/world.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/screen/world.c b/src/screen/world.c index 2b96919..1aaa2cc 100644 --- a/src/screen/world.c +++ b/src/screen/world.c @@ -384,10 +384,14 @@ void startWorld() radar_init(); pauza_init(); term_init(); - save_dialog_init(); - module_init(); setGameType(); + + if (net_multiplayer_get_game_type() == NET_GAME_TYPE_NONE) { + save_dialog_init(); + } + + module_init(); chat_init(); prepareArena(); } @@ -443,7 +447,10 @@ void stoptWorld() radar_quit(); pauza_quit(); term_quit(); - save_dialog_quit(); + + if (net_multiplayer_get_game_type() == NET_GAME_TYPE_NONE) { + save_dialog_quit(); + } if (control_tux_right != NULL) { control_destroy(control_tux_right); |