citymania-org / cmclient

CityMania OpenTTD patched client
Other
22 stars 8 forks source link

Zone doesn't get redrawn correctly #8

Closed danidoedel closed 3 years ago

danidoedel commented 3 years ago

Version of OpenTTD

1.11

Expected result

Only the correct tiles should be colored

Actual result

image image

Steps to reproduce

Activate the town growth tiles and let the city grow a bit, after a few tile changes the zoning gets messed up. Sometimes zooming out and in helps, sometimes only waiting for a bit helps. Switching zone off and on again doesn't help.

ldpl commented 3 years ago

Can you please try to find a way to reproduce it more reliably and provide more details? I've never seen it like this and when I try to reproduce it as described it works perfectly fine.

danidoedel commented 3 years ago

@ldpl Unfortunately it happens to me all the time so I can't find specific steps to trigger this :( I'm on a MacBook Pro M1, maybe it's related to some graphics driver or something like that...

https://user-images.githubusercontent.com/10995998/115143040-25261980-a06f-11eb-8fe4-be4fe8dda621.mov

https://user-images.githubusercontent.com/10995998/115143081-68808800-a06f-11eb-9744-463cfaae1f79.mov

Sorry for the quality but I had to make it smaller otherwise I wouldn't be able to upload it here. But yeah I didn't do anything. Created a company, built the HQ, activated the zone and waited for the town to build something. Edit: Also happens without claiming a town.

danidoedel commented 3 years ago

Even on the title screen after leaving the game:

image
ldpl commented 3 years ago

I couldn't reproduce it but I checked the code and found something that could be the cause. So I'm closing the bug but feel free to reopen if 1.11.1 doesn't fix it.

danidoedel commented 3 years ago

I did a quick test and it didn't occur so I assume that fixed it. Thanks! :)