1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +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

@@ -12,6 +12,7 @@
- Fix: [#17339] Distorted visuals when changing scaling factor between integer numbers in OpenGL rendering mode.
- Fix: [#17444] “Manta Ray” boats slowed down too much in “Ayers Rock” scenario (original bug).
- Fix: [#17503] Parks with staff with an ID of 0 have all staff windows focus on that staff
- Fix: [#17508] Grid doesnt disable after setting patrol area.
- Fix: [#17553] Crash when moving invention list items to empty list
0.4.1 (2022-07-04)

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();
}