mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 10:45:16 +01:00
Fix virtual floor invalidating incorrectly if expanded on x and y axes
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
- Fix: [#25480] The mini track design preview and price are misaligned in Enlarged UI mode.
|
||||
- Fix: [#25488] Crash in headless mode.
|
||||
- Fix: [#25494] The Go-Karts steep to flat track does not draw correctly in the flat side tunnel.
|
||||
- Fix: [#25518] The virtual floor does not draw correctly if expanded on the positive x and y axes.
|
||||
- Fix: [objects#401] Round tunnels on down slopes glitch.
|
||||
- Fix: [objects#404] Wooden Wild Mine cars incorrectly allow setting a third remap colour.
|
||||
- Fix: [objects#408] Australian fountain sets have confusing naming.
|
||||
|
||||
@@ -138,7 +138,8 @@ void VirtualFloorInvalidate(const bool alwaysInvalidate)
|
||||
}
|
||||
|
||||
// Do not invalidate new region if floor hasn't moved.
|
||||
if (min_position == _virtualFloorLastMinPos && _virtualFloorLastMinPos.z == _virtualFloorHeight)
|
||||
if (min_position == _virtualFloorLastMinPos && max_position == _virtualFloorLastMaxPos
|
||||
&& _virtualFloorLastMinPos.z == _virtualFloorHeight)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user