From ad43554177133b522ae64464f51a8590bd236270 Mon Sep 17 00:00:00 2001 From: Allanis Date: Wed, 21 May 2014 20:08:04 +0100 Subject: [PATCH] [Fix] Fixed the thrust/afterburn sound getting stuck when landed. --- src/player.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/player.c b/src/player.c index 7906e19..d146354 100644 --- a/src/player.c +++ b/src/player.c @@ -2002,7 +2002,12 @@ void player_land(void) { player_message("You are going too fast to land on %s.", planet->name); return; } - land(planet); /* Land the player. */ + /* Stop acceleration / afterburning. */ + player_accelOver(); + player_afterburnOver(); + + /* Open land menu. */ + land(planet); } else { /* Get nearest planet target. */ if(cur_system->nplanets == 0) {