cboe icon indicating copy to clipboard operation
cboe copied to clipboard

Town boundary width and height are swapped

Open daerogami opened this issue 7 years ago • 21 comments

Towns that do not have their boundaries drawn in a square have redrawn themselves e.g. if it is 28x30, it becomes 30x28, and moves the party out of town when it shouldn't.


This is an item logged from the To-Do and was originally reported by BainIhrno. If you are familiar with or can recreate this bug, please provide details here.

daerogami avatar Feb 15 '18 08:02 daerogami

This happens when you import a Windows scenario (or a Windows party) on an Intel computer. Basically, the problem is that they use the same endian mode, so the port_XXX functions stop too quickly and don't call alter_rect :-~ I fixed this in https://github.com/fosnola/cboe/commit/53b86cea44273ce543d9860d293f46c1a0f6abd2 and https://github.com/fosnola/cboe/commit/d63b089018b8ceee8e6126bb02b575a65c2fe867.

fosnola avatar Oct 07 '21 15:10 fosnola