then there would be only one line: scouting_direction = static_cast<ScoutingDirection>(des.unsigned_8());
compiler says it is OK, but this kind of bugs is extremly hard to trace, so this must be 100% reliable -- https://code.launchpad.net/~widelands-dev/widelands/bug-1422452/+merge/250232 Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1422452 into lp:widelands. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp