mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-08 20:51:42 -04:00
fixed powerplant (maybe other upgrades as well) image display not properly in some special theaters, e.g. desert .
This commit is contained in:
parent
e3fbcdc28a
commit
54794f7a11
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue