citymania-org / cmclient

CityMania OpenTTD patched client
Other
26 stars 8 forks source link

[Bug]: Station coverage highlight is not hidden when closing via Road Construction #32

Open ldpl opened 6 months ago

ldpl commented 6 months ago

Version of OpenTTD

14.0-RC1

Expected result

coverage is hidden

Actual result

still shows

Steps to reproduce

  1. build a station
  2. close "Road construction" window
McBorer commented 4 months ago

Also very often highlight just jump out itself from nowhere, especially when building tool are on.

excxp commented 1 month ago

This bug is much more then highlighting just turning itself on. When the highlighting appears, it will persist even when no station building tool or station gui is open. The highlighting state will be sort of stuck. If you try to turn off the hghlighting by clicking on the station, and pressing the coverage button, nothing will change, the highlighting will still be stuck on The only way to clear it is to open any of the station building tools (through road or rail menu), and press escape. If you press the delete key instead of escape, the highlighting will still be stuck on. Another thing i noticed, if you are in the state of the highlighting stuck on, and you abandon a game, openttd will crash with an access violation. This bug seems to only happen when improved station joining is off.