From 9e87d7f98eace7a3283587fdecc398da8f1da27e Mon Sep 17 00:00:00 2001 From: Zero Fanker Date: Tue, 16 Apr 2024 21:14:29 -0400 Subject: [PATCH] fixed another logic bug caused by refactor . --- MissionEditor/Loading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MissionEditor/Loading.cpp b/MissionEditor/Loading.cpp index 831e525..5b1223f 100644 --- a/MissionEditor/Loading.cpp +++ b/MissionEditor/Loading.cpp @@ -1261,7 +1261,7 @@ BOOL CLoading::LoadUnitGraphic(const CString& lpUnittype) const auto& artSection = art[image]; // is it a shp graphic? - if (!artSection.GetBool(image, "Voxel")) { + if (!artSection.GetBool("Voxel")) { try { auto shp = FindUnitShp(image, cur_theat, artSection);