aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-23 06:22:36 +0000
committerTorbjörn Andersson2003-09-23 06:22:36 +0000
commitbd6eece09385fc1090f5e679da3bfb2b2475c7a2 (patch)
tree9517df4762021596850c23dea7f8177269ab5a6a
parent8a5e6289a5281ff56d1bc4f4ff15ae172237b567 (diff)
downloadscummvm-rg350-bd6eece09385fc1090f5e679da3bfb2b2475c7a2.tar.gz
scummvm-rg350-bd6eece09385fc1090f5e679da3bfb2b2475c7a2.tar.bz2
scummvm-rg350-bd6eece09385fc1090f5e679da3bfb2b2475c7a2.zip
Initialize the cutscene voice-over sound handle, in case you press Escape
before there is any speech. svn-id: r10364
-rw-r--r--sword2/driver/d_draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index ef92092bb2..f01b8b9af3 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -600,7 +600,7 @@ int32 PlaySmacker(char *filename, _movieTextObject *text[], uint8 *musicOut) {
BS2_SetPalette(0, 256, tmpPal, RDPAL_INSTANT);
while (1) {
- PlayingSoundHandle handle;
+ PlayingSoundHandle handle = 0;
if (!text[textCounter])
break;