mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 17:25:32 +00:00
Strip trailing whitespace.
This commit is contained in:
parent
2e9a889a47
commit
40fdb61129
@ -347,7 +347,7 @@ marked_route mouse_handler::get_route(unit_map::const_iterator un, map_location
|
||||
un->second, units_, viewing_team());
|
||||
|
||||
plain_route route;
|
||||
|
||||
|
||||
if (waypoints.empty()) {
|
||||
// standard shortest path
|
||||
route = a_star_search(un->first, go_to, 10000.0, &calc, map_.w(), map_.h(), &allowed_teleports);
|
||||
|
@ -856,7 +856,7 @@ const unit_type* unit::type() const
|
||||
//thow error
|
||||
unknown_unit_type_error(type_id());
|
||||
//shouldn't be reached
|
||||
return NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void unit::unknown_unit_type_error(const std::string& type_id) const
|
||||
@ -988,7 +988,7 @@ void unit::new_scenario()
|
||||
// Set the goto-command to be going to no-where
|
||||
goto_ = map_location();
|
||||
waypoints_.clear();
|
||||
|
||||
|
||||
remove_temporary_modifications();
|
||||
|
||||
heal_all();
|
||||
|
Loading…
x
Reference in New Issue
Block a user