mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Add a function to invalidate viewports pre-transformed position
This commit is contained in:
@@ -64,7 +64,7 @@ void EntityBase::Invalidate()
|
||||
break;
|
||||
}
|
||||
|
||||
ViewportsInvalidate(SpriteData.SpriteRect, maxZoom);
|
||||
ViewportsInvalidate(GetLocation(), SpriteData.Width, SpriteData.HeightMin, SpriteData.HeightMax, maxZoom);
|
||||
}
|
||||
|
||||
void EntityBase::Serialise(DataSerialiser& stream)
|
||||
|
||||
Reference in New Issue
Block a user