1
0
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:
ζeh Matt
2024-02-18 21:11:31 +02:00
parent 47d346ee81
commit bdcfa5af8f
4 changed files with 42 additions and 13 deletions

View File

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