aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/myst_stacks/selenitic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst_stacks/selenitic.cpp b/engines/mohawk/myst_stacks/selenitic.cpp
index 85654050a7..3e00d242be 100644
--- a/engines/mohawk/myst_stacks/selenitic.cpp
+++ b/engines/mohawk/myst_stacks/selenitic.cpp
@@ -972,8 +972,8 @@ void MystScriptParser_Selenitic::soundReceiverUpdateSound() {
}
uint16 MystScriptParser_Selenitic::soundReceiverCurrentSound(uint16 source, uint16 position) {
- uint16 solution;
- bool sourceEnabled;
+ uint16 solution = 0;
+ bool sourceEnabled = false;
soundReceiverSolution(source, solution, sourceEnabled);
uint16 soundIdGood = 0;