Changeset - r28553:b2de99217b14
[Not reviewed]
master
0 1 0
Patric Stout - 10 months ago 2024-01-22 21:28:00
truebrain@openttd.org
Fix d3b2a576: LOAD_HEIGHTMAP / LOAD_SCENARIO are Scenario Editor modes (#11868)
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -1135,7 +1135,7 @@ void SwitchToMode(SwitchMode new_mode)
 
			GenerateSavegameId();
 
			MarkWholeScreenDirty();
 

	
 
			UpdateSocialIntegration(GM_NORMAL);
 
			UpdateSocialIntegration(GM_EDITOR);
 
			break;
 

	
 
		case SM_LOAD_SCENARIO: { // Load scenario from scenario editor
 
@@ -1150,7 +1150,7 @@ void SwitchToMode(SwitchMode new_mode)
 
				ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, WL_CRITICAL);
 
			}
 

	
 
			UpdateSocialIntegration(GM_NORMAL);
 
			UpdateSocialIntegration(GM_EDITOR);
 
			break;
 
		}
 

	
0 comments (0 inline, 0 general)