aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 63c3ee4e8c..e1880738f1 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1328,7 +1328,7 @@ Audio::AudioStream* AudioResource::getAudioStream(uint16 audioNumber, int *sampl
bool found = false;
byte *data = 0;
char filename[40];
- byte flags;
+ byte flags = 0;
// Try to load from an external patch file first
Sci::Resource* audioRes = _resMgr->findResource(kResourceTypeAudio, audioNumber, 1);