equal
deleted
inserted
replaced
1114 _switch_mode = SM_SAVE; |
1114 _switch_mode = SM_SAVE; |
1115 FiosMakeSavegameName(_file_to_saveload.name, WP(w,querystr_d).buf); |
1115 FiosMakeSavegameName(_file_to_saveload.name, WP(w,querystr_d).buf); |
1116 } |
1116 } |
1117 break; |
1117 break; |
1118 case WE_DESTROY: |
1118 case WE_DESTROY: |
|
1119 // pause is only used in single-player, non-editor mode |
|
1120 if(!_networking && (_game_mode != GM_EDITOR)) |
|
1121 DoCommandP(0, 0, 0, NULL, CMD_PAUSE); |
1119 _query_string_active = false; |
1122 _query_string_active = false; |
1120 FiosFreeSavegameList(); |
1123 FiosFreeSavegameList(); |
1121 break; |
1124 break; |
1122 } |
1125 } |
1123 } |
1126 } |
1186 SET_DPARAM16(2, _date); |
1189 SET_DPARAM16(2, _date); |
1187 GetString(_edit_str_buf, STR_4004); |
1190 GetString(_edit_str_buf, STR_4004); |
1188 } else if (mode == SLD_SAVE_SCENARIO) { |
1191 } else if (mode == SLD_SAVE_SCENARIO) { |
1189 strcpy(_edit_str_buf, "UNNAMED"); |
1192 strcpy(_edit_str_buf, "UNNAMED"); |
1190 } |
1193 } |
|
1194 |
|
1195 // pause is only used in single-player, non-editor mode |
|
1196 if(_game_mode != GM_MENU && !_networking && (_game_mode != GM_EDITOR)) |
|
1197 DoCommandP(0, 1, 0, NULL, CMD_PAUSE); |
1191 |
1198 |
1192 BuildFileList(); |
1199 BuildFileList(); |
1193 |
1200 |
1194 ResetObjectToPlace(); |
1201 ResetObjectToPlace(); |
1195 } |
1202 } |