From cd2fc20768a8ed8dc34a316ec91e0643b8c2bddf Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Fri, 19 Dec 2014 15:40:45 +0600 Subject: ZVISION: Fix uninitialized scalar field (CID 1257061) --- engines/zvision/core/menu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/zvision/core/menu.cpp b/engines/zvision/core/menu.cpp index c7898a4fbd..e584e8712f 100644 --- a/engines/zvision/core/menu.cpp +++ b/engines/zvision/core/menu.cpp @@ -58,6 +58,8 @@ MenuZGI::MenuZGI(ZVision *engine) : scrollPos[1] = 0.0; scrollPos[2] = 0.0; mouseOnItem = -1; + redraw = false; + clean = false; char buf[24]; for (int i = 1; i < 4; i++) { -- cgit v1.2.3