X Tutup
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ShipAICmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,10 @@ bool AICmdDock::TimeStepUpdate()
if (m_state != eDockGetDataEnd) {
m_dockpos = dockpos.pos;
}
// we are already near the station, what could go wrong?
// set the fuel reserve to 0, since the fuel could become lower than the
// current reserve during the flight, and the ship will not fly anywhere
m_prop->SetFuelReserve(0.0);

m_dockdir = dockpos.zaxis.Normalized();
m_dockupdir = dockpos.yaxis.Normalized(); // don't trust these enough
Expand Down
X Tutup