BibShape will always be tried drawn, because buildings like Service Depot do not have "Bib=yes" .

This commit is contained in:
Zero Fanker 2024-04-16 23:31:35 -04:00
parent 4ba020599e
commit 574a67e7c4

View file

@ -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);