aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorFilippos Karapetis2011-11-03 23:47:40 +0200
committerFilippos Karapetis2011-11-04 00:42:38 +0200
commit747ebffd17eb64423fd8fb321f9d803ec31105f4 (patch)
tree54fb4dab3e6883a8bb9862e00b04302b089d4a0b /engines/scumm
parentcdedfa3d8552f81a1ff9cae0d21d03964b9ca2a3 (diff)
downloadscummvm-rg350-747ebffd17eb64423fd8fb321f9d803ec31105f4.tar.gz
scummvm-rg350-747ebffd17eb64423fd8fb321f9d803ec31105f4.tar.bz2
scummvm-rg350-747ebffd17eb64423fd8fb321f9d803ec31105f4.zip
SCUMM: Removed a duplicate variable assignment
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/imuse/imuse_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse/imuse_player.cpp b/engines/scumm/imuse/imuse_player.cpp
index 73be2174cd..d733a2693a 100644
--- a/engines/scumm/imuse/imuse_player.cpp
+++ b/engines/scumm/imuse/imuse_player.cpp
@@ -592,12 +592,12 @@ bool Player::setLoop(uint count, uint tobeat, uint totick, uint frombeat, uint f
if (tobeat == 0)
tobeat = 1;
- _loop_counter = 0; // Because of possible interrupts
+ //_loop_counter = 0; // Because of possible interrupts
+ _loop_counter = count;
_loop_to_beat = tobeat;
_loop_to_tick = totick;
_loop_from_beat = frombeat;
_loop_from_tick = fromtick;
- _loop_counter = count;
return true;
}