libtcod / python-tcod

A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
BSD 2-Clause "Simplified" License
413 stars 36 forks source link

Map.FOV flips axis when re-built from Pickle. #37

Closed Tokeli closed 6 years ago

Tokeli commented 6 years ago

Python: 3.6.4 x64 TDL 3.4.0

https://github.com/TStand90/roguelike_tutorial_revised_tdl Took me quite a while before I decided I wasn't just doing something wrong. Was following the tutorial that goes with the above repo, and ran into this problem when finishing the save system. When sent to Pickle the map is fine, when it returns, the compute_fov function reveals that the FOV array is now [x, y] instead of [y, x] like Walkable and Transparency. I grabbed a fresh copy from that repo to make sure, and it had the same issue.

HexDecimal commented 6 years ago

Now fixed in v4.3.1

Tokeli commented 6 years ago

Dear god, that was fast- thank you!