aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-19 15:41:39 +0600
committerMarisa-Chan2014-12-19 16:00:57 +0600
commitdeea4ef62c1eda0a3cba45b2f9e23be6338f52ca (patch)
treebe4341aa2b83460269c42d3a9ffb5f83430e4b1c
parentcd2fc20768a8ed8dc34a316ec91e0643b8c2bddf (diff)
downloadscummvm-rg350-deea4ef62c1eda0a3cba45b2f9e23be6338f52ca.tar.gz
scummvm-rg350-deea4ef62c1eda0a3cba45b2f9e23be6338f52ca.tar.bz2
scummvm-rg350-deea4ef62c1eda0a3cba45b2f9e23be6338f52ca.zip
ZVISION: Fix uninitialized scalar field (CID 1257055)
-rw-r--r--engines/zvision/scripting/actions.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp
index d6883ed38f..10122f556d 100644
--- a/engines/zvision/scripting/actions.cpp
+++ b/engines/zvision/scripting/actions.cpp
@@ -781,6 +781,9 @@ bool ActionRotateTo::execute() {
ActionSetPartialScreen::ActionSetPartialScreen(ZVision *engine, int32 slotkey, const Common::String &line) :
ResultAction(engine, slotkey) {
+ _x = 0;
+ _y = 0;
+
char fileName[25];
int color;