aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudvig Strigeus2001-12-03 11:42:40 +0000
committerLudvig Strigeus2001-12-03 11:42:40 +0000
commit8c25be13e551c8fb289e1218a0e714d81c78acbb (patch)
treeecfeab3ba600ce2fefbc14ca841284c65f14f972
parent4deb5ae64414bc05a75bfa948ee0d3f65f12b55b (diff)
downloadscummvm-rg350-8c25be13e551c8fb289e1218a0e714d81c78acbb.tar.gz
scummvm-rg350-8c25be13e551c8fb289e1218a0e714d81c78acbb.tar.bz2
scummvm-rg350-8c25be13e551c8fb289e1218a0e714d81c78acbb.zip
fixed invalid init value in readSoundResource (again)
svn-id: r3520
-rw-r--r--resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resource.cpp b/resource.cpp
index 5937dedac7..876cbf1d52 100644
--- a/resource.cpp
+++ b/resource.cpp
@@ -476,7 +476,7 @@ int Scumm::readSoundResource(int type, int index) {
return 1;
}
#else
- best_pri = 0;
+ best_pri = -1;
while (pos < total_size) {
tag = fileReadDword();
size = fileReadDwordBE() + 8;