From 704a4b3400e07ce5d86e7db7e63c3cc89da383e9 Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Fri, 19 Dec 2014 16:39:21 +0600 Subject: ZVISION: Fix uninitialized scalar field (CID 1257072) --- engines/zvision/scripting/actions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp index a14fa37e4b..a5cc37a2f7 100644 --- a/engines/zvision/scripting/actions.cpp +++ b/engines/zvision/scripting/actions.cpp @@ -217,6 +217,7 @@ bool ActionCursor::execute() { ActionDelayRender::ActionDelayRender(ZVision *engine, int32 slotkey, const Common::String &line) : ResultAction(engine, slotkey) { + _framesToDelay = 0; sscanf(line.c_str(), "%u", &_framesToDelay); } -- cgit v1.2.3