~widelands-dev/widelands/multiplayer_dropdowns

« back to all changes in this revision

Viewing changes to src/logic/map_objects/tribes/carrier.cc

Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
 * Find the flag we are closest to (in walking time).
433
433
 */
434
434
int32_t Carrier::find_closest_flag(Game& game) {
435
 
        Map& map = game.map();
 
435
        const Map& map = game.map();
436
436
        CoordPath startpath(map, dynamic_cast<Road&>(*get_location(game)).get_path());
437
437
 
438
438
        CoordPath endpath;