From 574a67e7c48e3889b590d8873aff13080e86a13e Mon Sep 17 00:00:00 2001 From: Zero Fanker Date: Tue, 16 Apr 2024 23:31:35 -0400 Subject: [PATCH] BibShape will always be tried drawn, because buildings like Service Depot do not have "Bib=yes" . --- MissionEditor/Loading.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MissionEditor/Loading.cpp b/MissionEditor/Loading.cpp index d700339..1b77b1e 100644 --- a/MissionEditor/Loading.cpp +++ b/MissionEditor/Loading.cpp @@ -1336,10 +1336,7 @@ BOOL CLoading::LoadUnitGraphic(const CString& lpUnittype) } //hShpMix=20; - // seems to be ignored by TS, art.ini overwrites??? - if (rules.GetBool(lpUnittype, "Bib")) { - LoadBuildingSubGraphic("BibShape", artSection, bAlwaysSetChar, theat, hShpMix, bib_h, bib); - } + LoadBuildingSubGraphic("BibShape", artSection, bAlwaysSetChar, theat, hShpMix, bib_h, bib); LoadBuildingSubGraphic("ActiveAnim", artSection, bAlwaysSetChar, theat, hShpMix, activeanim_h, activeanim); LoadBuildingSubGraphic("IdleAnim", artSection, bAlwaysSetChar, theat, hShpMix, idleanim_h, idleanim);