aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/core
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-19 15:40:45 +0600
committerMarisa-Chan2014-12-19 16:00:49 +0600
commitcd2fc20768a8ed8dc34a316ec91e0643b8c2bddf (patch)
tree489d0f98d2e5ddb5efd577e3545ee53bbfa9a5a7 /engines/zvision/core
parent5a087927805529293fb340b0b7c0d2e789278ae9 (diff)
downloadscummvm-rg350-cd2fc20768a8ed8dc34a316ec91e0643b8c2bddf.tar.gz
scummvm-rg350-cd2fc20768a8ed8dc34a316ec91e0643b8c2bddf.tar.bz2
scummvm-rg350-cd2fc20768a8ed8dc34a316ec91e0643b8c2bddf.zip
ZVISION: Fix uninitialized scalar field (CID 1257061)
Diffstat (limited to 'engines/zvision/core')
-rw-r--r--engines/zvision/core/menu.cpp2
1 files changed, 2 insertions, 0 deletions
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++) {