equal
deleted
inserted
replaced
139 if (_gw.proc != NULL) _gw.proc(); |
139 if (_gw.proc != NULL) _gw.proc(); |
140 IncreaseGeneratingWorldProgress(GWP_GAME_START); |
140 IncreaseGeneratingWorldProgress(GWP_GAME_START); |
141 |
141 |
142 if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE); |
142 if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE); |
143 /* Show all vital windows again, because we have hidden them */ |
143 /* Show all vital windows again, because we have hidden them */ |
144 if (_gw.threaded) ShowVitalWindows(); |
144 if (_gw.threaded && _game_mode != GM_MENU) ShowVitalWindows(); |
145 _gw.active = false; |
145 _gw.active = false; |
146 _gw.thread = NULL; |
146 _gw.thread = NULL; |
147 _gw.proc = NULL; |
147 _gw.proc = NULL; |
148 _gw.threaded = false; |
148 _gw.threaded = false; |
149 |
149 |
201 /* Clean up - in SE create an empty map, otherwise, go to intro menu */ |
201 /* Clean up - in SE create an empty map, otherwise, go to intro menu */ |
202 _switch_mode = (_game_mode == GM_EDITOR) ? SM_EDITOR : SM_MENU; |
202 _switch_mode = (_game_mode == GM_EDITOR) ? SM_EDITOR : SM_MENU; |
203 |
203 |
204 if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE); |
204 if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE); |
205 /* Show all vital windows again, because we have hidden them */ |
205 /* Show all vital windows again, because we have hidden them */ |
206 if (_gw.threaded) ShowVitalWindows(); |
206 if (_gw.threaded && _game_mode != GM_MENU) ShowVitalWindows(); |
207 _gw.active = false; |
207 _gw.active = false; |
208 _gw.thread = NULL; |
208 _gw.thread = NULL; |
209 _gw.proc = NULL; |
209 _gw.proc = NULL; |
210 _gw.threaded = false; |
210 _gw.threaded = false; |
211 |
211 |