Rename close window functions to match upstream
This commit is contained in:
@@ -1434,14 +1434,14 @@ void SwitchToMode(SwitchMode new_mode)
|
||||
SetDParamStr(0, GetSaveLoadErrorString());
|
||||
ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, WL_ERROR);
|
||||
} else {
|
||||
DeleteWindowById(WC_SAVELOAD, 0);
|
||||
CloseWindowById(WC_SAVELOAD, 0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case SM_SAVE_HEIGHTMAP: // Save heightmap.
|
||||
MakeHeightmapScreenshot(_file_to_saveload.name.c_str());
|
||||
DeleteWindowById(WC_SAVELOAD, 0);
|
||||
CloseWindowById(WC_SAVELOAD, 0);
|
||||
break;
|
||||
|
||||
case SM_GENRANDLAND: // Generate random land within scenario editor
|
||||
|
Reference in New Issue
Block a user