From 02425ffa77e95f580ec2013ae7eab273b4fc9fe0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 12 Nov 2013 21:25:00 +0000 Subject: Make the racetrack usable again after the autopilot/autodock update broke it. --- src/game/base/ship.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3