1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Fix #7002: Always invalidate virtual floor regardless of selection.

This commit is contained in:
ZehMatt
2018-03-03 12:34:27 +01:00
committed by Aaron van Geffen
parent 72114ec6e8
commit fdf7adecd9
3 changed files with 12 additions and 15 deletions

View File

@@ -746,11 +746,11 @@ money32 footpath_provisional_set(sint32 type, sint32 x, sint32 y, sint32 z, sint
}
}
// Invalidate previous footpath piece.
map_invalidate_virtual_floor_tiles();
if (!scenery_tool_is_active())
{
// Invalidate previous footpath piece.
map_invalidate_virtual_floor_tiles();
if (cost == MONEY32_UNDEFINED)
{
// If we can't build this, don't show a virtual floor.