aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/scripting/actions.cpp6
-rw-r--r--engines/zvision/scripting/actions.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp
index a9b19eaf2b..8ae1cd733b 100644
--- a/engines/zvision/scripting/actions.cpp
+++ b/engines/zvision/scripting/actions.cpp
@@ -431,10 +431,12 @@ bool ActionMenuBarEnable::execute() {
ActionMusic::ActionMusic(ZVision *engine, int32 slotkey, const Common::String &line, bool global) :
ResultAction(engine, slotkey),
_volume(255),
+ _note(0),
+ _prog(0),
_universe(global) {
- uint type;
+ uint type = 0;
char fileNameBuffer[25];
- uint loop;
+ uint loop = 0;
uint volume = 255;
sscanf(line.c_str(), "%u %25s %u %u", &type, fileNameBuffer, &loop, &volume);
diff --git a/engines/zvision/scripting/actions.h b/engines/zvision/scripting/actions.h
index ef82ef0c88..d859b1d7f1 100644
--- a/engines/zvision/scripting/actions.h
+++ b/engines/zvision/scripting/actions.h
@@ -239,7 +239,6 @@ public:
bool execute();
private:
- uint32 _key;
Common::String _fileName;
bool _loop;
byte _volume;