From 54794f7a11ac5a2b9a6274646fab18ccf995cf51 Mon Sep 17 00:00:00 2001 From: Zero Fanker Date: Wed, 29 May 2024 00:34:10 -0400 Subject: [PATCH] fixed powerplant (maybe other upgrades as well) image display not properly in some special theaters, e.g. desert . --- MissionEditor/Loading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MissionEditor/Loading.cpp b/MissionEditor/Loading.cpp index 0023022..c03ee01 100644 --- a/MissionEditor/Loading.cpp +++ b/MissionEditor/Loading.cpp @@ -1512,7 +1512,7 @@ void CLoading::LoadBuilding(const CString& ID) auto const& powerUpBldId = rules.GetString(ID, "PowersUpBuilding"); // Early load if (!powerUpBldId.IsEmpty()) { - CString SrcBldName = GetBuildingFileID(powerUpBldId) + "0"; + CString SrcBldName = powerUpBldId + "0"; if (!IsImageLoaded(SrcBldName)) { LoadBuilding(powerUpBldId); }