aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lastexpress/game/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp
index 4ea80bd21c..c30be5c238 100644
--- a/engines/lastexpress/game/sound.cpp
+++ b/engines/lastexpress/game/sound.cpp
@@ -1767,7 +1767,7 @@ void SoundManager::updateSubtitles() {
} else {
current_index = soundEntry->field_4C + (status & 0x1F);
- if (_currentSubtitle = (*i))
+ if (_currentSubtitle == (*i))
current_index += 4;
}