1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Fix #17508: Grid Doesn't Disable After Setting Patrol Area (#17574)

* Move show_gridlines to only run under condition

* Update changelog.txt

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
Henry Cheng
2022-07-25 09:39:19 -04:00
committed by GitHub
parent e33b35a04d
commit 08e0b9ae8d
2 changed files with 2 additions and 2 deletions

View File

@@ -244,11 +244,10 @@ private:
}
else
{
show_gridlines();
if (!tool_set(this, 0, Tool::WalkDown))
{
input_set_flag(INPUT_FLAG_6, true);
show_gridlines();
input_set_flag(INPUT_FLAG_6, true);
SetPatrolAreaToRender(_staffId);
gfx_invalidate_screen();
}