aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-12-03 22:39:55 +0000
committerGregory Montoir2004-12-03 22:39:55 +0000
commitfb5dcffff19c8bb5c516a6ddcaea397fb709194b (patch)
tree038a2149a59e56ac9832262808e51edcbc21a305 /queen/graphics.cpp
parent76bf11cbdf8a4549a9461a467d82dda12eec5d45 (diff)
downloadscummvm-rg350-fb5dcffff19c8bb5c516a6ddcaea397fb709194b.tar.gz
scummvm-rg350-fb5dcffff19c8bb5c516a6ddcaea397fb709194b.tar.bz2
scummvm-rg350-fb5dcffff19c8bb5c516a6ddcaea397fb709194b.zip
Minor cleanup, one more time.
Fixed a crash when returning to the launcher at the end of the game. I played FOTAQ (french) from the beginning to the end some hours ago, I haven't encountered any special problems/glitches (except the one mentionned above). svn-id: r15979
Diffstat (limited to 'queen/graphics.cpp')
-rw-r--r--queen/graphics.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp
index e4852791c9..ae87fb1e8c 100644
--- a/queen/graphics.cpp
+++ b/queen/graphics.cpp
@@ -1146,8 +1146,7 @@ void BamScene::updateCarAnimation() {
if (bdb->sfx == 99) {
_lastSoundIndex = _index = 0;
- }
- else {
+ } else {
++_index;
}