diff --git a/Client/ULandscape.pas b/Client/ULandscape.pas index e18e033..d4c0dae 100644 --- a/Client/ULandscape.pas +++ b/Client/ULandscape.pas @@ -320,7 +320,8 @@ var begin Result := nil; - if ATileID >= $4000 then + if (ATileID >= $4000) and (tdfAnimation in + ResMan.Tiledata.StaticTiles[ATileID -$4000].Flags) then begin animData := ResMan.Animdata.AnimData[ATileID - $4000]; if (animData.FrameCount > 0) and not FAnimations.QueryID(ATileID, Result) then @@ -356,7 +357,8 @@ begin Result := nil; id := ATileID or ((AHue.ID and $3FFF) shl 16) or (Byte(APartialHue) shl 30); - if ATileID >= $4000 then + if (ATileID >= $4000) and (tdfAnimation in + ResMan.Tiledata.StaticTiles[ATileID -$4000].Flags) then begin animData := ResMan.Animdata.AnimData[ATileID - $4000]; if (animData.FrameCount > 0) and not FAnimations.QueryID(id, Result) then