[Fix] Fixed the thrust/afterburn sound getting stuck when landed.
This commit is contained in:
parent
a8dd594369
commit
ad43554177
@ -2002,7 +2002,12 @@ void player_land(void) {
|
|||||||
player_message("You are going too fast to land on %s.", planet->name);
|
player_message("You are going too fast to land on %s.", planet->name);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
land(planet); /* Land the player. */
|
/* Stop acceleration / afterburning. */
|
||||||
|
player_accelOver();
|
||||||
|
player_afterburnOver();
|
||||||
|
|
||||||
|
/* Open land menu. */
|
||||||
|
land(planet);
|
||||||
} else {
|
} else {
|
||||||
/* Get nearest planet target. */
|
/* Get nearest planet target. */
|
||||||
if(cur_system->nplanets == 0) {
|
if(cur_system->nplanets == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user