aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lastexpress/game/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp
index f8b45bb385..c8d8809bc3 100644
--- a/engines/lastexpress/game/sound.cpp
+++ b/engines/lastexpress/game/sound.cpp
@@ -354,7 +354,8 @@ void SoundManager::removeEntry(SoundEntry *entry) {
entry->status.status |= kSoundStatusRemoved;
// Loop until ready
- while (!(entry->status.status1 & 4) && !(_flag & 8) && (_flag & 1));
+ while (!(entry->status.status1 & 4) && !(_flag & 8) && (_flag & 1))
+ ; // empty loop body
// The original game remove the entry from the cache here,
// but since we are called from within an iterator loop