I have fixed 2 compiler warnings. You need to use the PRIuS macro for logging 
size_t, because the exact data type depends on the operating system. Also, 
uint8_t will be interpreted as a character code point rather than a number, so 
it needs an annoying explicit cast to <unsigned int> every time you want to 
print it.

I am getting a failed assert:

widelands: ../src/logic/editor_game_base.cc:526: void 
Widelands::EditorGameBase::set_road(const Widelands::FCoords&, uint8_t, 
uint8_t): Assertion `roadtype == RoadType::kNone || roadtype == 
RoadType::kNormal || roadtype == RoadType::kBusy || roadtype == 
RoadType::kWaterway' failed.

This happened after starting a new game with all 4 tribes in Archipelago Sea, 
and the AI built something somewhere.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bridges/+merge/364318
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/bridges 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

Reply via email to