fixed SHP image blending overlapping issue .

This commit is contained in:
Zero Fanker 2024-05-19 11:44:56 -04:00
parent c94515c686
commit 4171effebf

View file

@ -1507,7 +1507,7 @@ void CLoading::LoadBuilding(const CString& ID)
}
auto loadAnimFrame = [this, &ArtID, &ID](const CString& key, const CString& controlKey) {
auto const imageID = art.GetStringOr(ArtID, key, ArtID);
auto const imageID = art.GetString(ArtID, key);
if (!imageID.IsEmpty()) {
if (!g_data.GetBool(controlKey, ID)) {
int nStartFrame = art.GetInteger(imageID, "LoopStart");