Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-12 21:25:00 +0000
committerStijn Buys <ingar@osirion.org>2013-11-12 21:25:00 +0000
commit02425ffa77e95f580ec2013ae7eab273b4fc9fe0 (patch)
tree28bdc90bc5293ee19008f65737751a76168172f0 /src/game/base
parentf192b3019662e9ca6805992ba5e879e5b50b0958 (diff)
Make the racetrack usable again after the autopilot/autodock update broke it.
Diffstat (limited to 'src/game/base')
-rw-r--r--src/game/base/ship.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index e9d9b54..7fae769 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -1475,8 +1475,9 @@ void Ship::frame_autopilot_dock(const unsigned long elapsed, core::Entity *targe
race->func_dock(this);
}
-
+ unset_autopilot_flag(AutoPilotEnabled);
unset_autopilot_flag(AutoPilotDock);
+ set_autopilot_target(0);
return;
} else {
set_dock(target);