aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-01-30 11:03:49 +0000
committerTravis Howell2005-01-30 11:03:49 +0000
commitbebad400d6cbbf38f8664bc1f2a5afea5716e93b (patch)
tree6ea72d3b7dd33de9c0b25f2c880beea9a3fc8830 /scumm/akos.cpp
parent0199bf70fe9e5d94666b876eaa5dbab3bf5008d8 (diff)
downloadscummvm-rg350-bebad400d6cbbf38f8664bc1f2a5afea5716e93b.tar.gz
scummvm-rg350-bebad400d6cbbf38f8664bc1f2a5afea5716e93b.tar.bz2
scummvm-rg350-bebad400d6cbbf38f8664bc1f2a5afea5716e93b.zip
Check sound queue for music in HE games.
Avoid extra sound channel. svn-id: r16706
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index b1af3d9727..7dbdc2359b 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -211,7 +211,6 @@ void ScummEngine::akos_decodeData(Actor *a, int frame, uint usemask) {
while (size--) {
if (READ_LE_UINT32(akst) == 0) {
a->cost.seq3[i] = READ_LE_UINT32(akst + 4);
- akst += 8;
found = true;
break;
}
@@ -243,7 +242,6 @@ void ScummEngine::akos_decodeData(Actor *a, int frame, uint usemask) {
if (READ_LE_UINT16(aksf) == start) {
a->cost.seq1[i] = READ_LE_UINT16(aksf + 2);
a->cost.seq2[i] = READ_LE_UINT16(aksf + 4);
- aksf += 6;
found = true;
break;
}
@@ -268,7 +266,6 @@ void ScummEngine::akos_decodeData(Actor *a, int frame, uint usemask) {
while (size--) {
if (READ_LE_UINT32(akst) == start) {
a->cost.seq3[i] = READ_LE_UINT32(akst + 4);
- akst += 8;
found = true;
break;
}