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.

_______________________________________________
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