Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
301 stars 47 forks source link

Loading game leads to problems with doors #112

Closed KroArtem closed 8 years ago

KroArtem commented 8 years ago

Unzip the same file as in the previous ticket. game.sav.zip

Try to go with heroes through places where doors were destroyed. Heroes cannot go through these doorways.

Andrettin commented 8 years ago

Thanks for the report! It is quite curious - the game seems to be saving the door's field flags into their tiles even if the door is "dying", although when playing (before saving and loading) the flag wasn't present in the tile anymore after the door had been destroyed. I'll have to look deeper into it.

Andrettin commented 8 years ago

Fixed now: https://github.com/Andrettin/Wyrmgus/commit/0e45bf478e81f91956cac88e320b99bb44028240