[Change] Abort hyperspaceing if autonav is aborted during sequence.

This commit is contained in:
Allanis 2013-12-18 13:53:17 +00:00
parent fe6f5b27ef
commit 4771db7276

View File

@ -1491,6 +1491,11 @@ void player_abortAutonav(void) {
if(player_isFlag(PLAYER_AUTONAV)) {
player_message("Autonav aborted!");
player_rmFlag(PLAYER_AUTONAV);
if(pilot_isFlag(player, PILOT_HYP_PREP)) {
pilot_hyperspaceAbort(player);
player_message("Aborting hyperspace sequence.");
return;
}
}
}