diff options
Diffstat (limited to 'engines/zvision/scripting/sidefx')
-rw-r--r-- | engines/zvision/scripting/sidefx/music_node.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/scripting/sidefx/syncsound_node.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/scripting/sidefx/music_node.cpp b/engines/zvision/scripting/sidefx/music_node.cpp index e9baadb011..b1e16e71ef 100644 --- a/engines/zvision/scripting/sidefx/music_node.cpp +++ b/engines/zvision/scripting/sidefx/music_node.cpp @@ -49,7 +49,7 @@ MusicNode::MusicNode(ZVision *engine, uint32 key, Common::String &filename, bool _pantrackPosition = 0; _sub = NULL; - Audio::RewindableAudioStream *audioStream; + Audio::RewindableAudioStream *audioStream = NULL; if (filename.contains(".wav")) { Common::File *file = new Common::File(); diff --git a/engines/zvision/scripting/sidefx/syncsound_node.cpp b/engines/zvision/scripting/sidefx/syncsound_node.cpp index 2bfdc349d1..39542675eb 100644 --- a/engines/zvision/scripting/sidefx/syncsound_node.cpp +++ b/engines/zvision/scripting/sidefx/syncsound_node.cpp @@ -41,7 +41,7 @@ SyncSoundNode::SyncSoundNode(ZVision *engine, uint32 key, Common::String &filena _syncto = syncto; _sub = NULL; - Audio::RewindableAudioStream *audioStream; + Audio::RewindableAudioStream *audioStream = NULL; if (filename.contains(".wav")) { Common::File *file = new Common::File(); |