~widelands-dev/widelands/trunk

« back to all changes in this revision

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

  • Committer: fios at foramnagaidhlig
  • Date: 2016-03-04 06:19:34 UTC
  • mfrom: (7850.1.3 bug-1395278-logic3)
  • Revision ID: fios@foramnagaidhlig.net-20160304061934-zdwvrpq7tjfi1yo6
Refactored remaining member variable names in src/logic.

Merged lp:~widelands-dev/widelands/bug-1395278-logic3

Show diffs side-by-side

added added

removed removed

Lines of Context:
748
748
uint32_t Ship::calculate_sea_route(Game& game, PortDock& pd, Path* finalpath) {
749
749
        Map& map = game.map();
750
750
        StepEvalAStar se(pd.get_warehouse()->get_position());
751
 
        se.m_swim = true;
752
 
        se.m_conservative = false;
753
 
        se.m_estimator_bias = -5 * map.calc_cost(0);
 
751
        se.swim_ = true;
 
752
        se.conservative_ = false;
 
753
        se.estimator_bias_ = -5 * map.calc_cost(0);
754
754
 
755
755
        MapAStar<StepEvalAStar> astar(map, se);
756
756