mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-12 22:43:16 -04:00
fixed an issue that caused by Ini refactor when loading voxel turret .
This commit is contained in:
parent
de8b0e1c42
commit
98783a663d
1 changed files with 1 additions and 1 deletions
|
@ -1372,7 +1372,7 @@ BOOL CLoading::LoadUnitGraphic(const CString& lpUnittype)
|
|||
if (bStructure && turretanim_name.GetLength() > 0 && !rules.GetBool(image, "TurretAnimIsVoxel")) {
|
||||
turretanim_filename = turretanim_name + ".shp";
|
||||
auto const& imageID = art.GetString(turretanim_name, "Image");
|
||||
if (imageID.IsEmpty()) {
|
||||
if (!imageID.IsEmpty()) {
|
||||
turretanim_filename = imageID + ".shp";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue