Strip trailing whitespace.

This commit is contained in:
Mark de Wever 2009-12-05 16:12:01 +00:00
parent 2e9a889a47
commit 40fdb61129
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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();