widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #17658
Re: [Merge] lp:~widelands-dev/widelands/ferry into lp:widelands
There is a method Game::send_player_build_waterway(int32_t, Path&) that works just like for roads.
Waterways have a special placement rule: They can go along any edge which is located between two water triangles. They can therefore reach all fields with MOVECAPS_SWIM plus some other fields. Always use a CheckStepFerry when checking ferry or waterway paths.
--
https://code.launchpad.net/~widelands-dev/widelands/ferry/+merge/351880
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/ferry.
References