diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-12 21:25:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-12 21:25:00 +0000 |
commit | 02425ffa77e95f580ec2013ae7eab273b4fc9fe0 (patch) | |
tree | 28bdc90bc5293ee19008f65737751a76168172f0 /src/game | |
parent | f192b3019662e9ca6805992ba5e879e5b50b0958 (diff) |
Make the racetrack usable again after the autopilot/autodock update broke it.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/base/ship.cc | 3 |
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); |