aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-02-12 07:48:03 +0100
committerStrangerke2014-02-12 07:48:03 +0100
commit82b4768dd76a9962d4781be4353467cd85dc44c3 (patch)
tree84db00abeb35e6601c6beb9a6044fa2429b2be33 /engines
parent1b7a4cf4a070e8dc88330d818898f2aa0659be5d (diff)
downloadscummvm-rg350-82b4768dd76a9962d4781be4353467cd85dc44c3.tar.gz
scummvm-rg350-82b4768dd76a9962d4781be4353467cd85dc44c3.tar.bz2
scummvm-rg350-82b4768dd76a9962d4781be4353467cd85dc44c3.zip
VOYEUR: Initialize some more variables
Diffstat (limited to 'engines')
-rw-r--r--engines/voyeur/data.cpp3
-rw-r--r--engines/voyeur/data.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/voyeur/data.cpp b/engines/voyeur/data.cpp
index ae9474a9bf..8e22fe3ad1 100644
--- a/engines/voyeur/data.cpp
+++ b/engines/voyeur/data.cpp
@@ -47,6 +47,9 @@ SVoy::SVoy() {
_murderThreshold = 9999;
_aptLoadMode = -1;
_eventFlags |= EVTFLAG_100;
+ _totalPhoneCalls = 0;
+ _victimMurdered = false;
+ _computerTimeMin = _computerTimeMax = 0;
}
void SVoy::setVm(VoyeurEngine *vm) {
diff --git a/engines/voyeur/data.h b/engines/voyeur/data.h
index 8f926db36d..cbdb995164 100644
--- a/engines/voyeur/data.h
+++ b/engines/voyeur/data.h
@@ -145,8 +145,8 @@ public:
int _incriminatedVictimNumber;
int _videoEventId;
RectResource *_viewBounds;
- int _curICF0;
- int _curICF1;
+ int _curICF0; // Useless variable
+ int _curICF1; // Useless variable
bool _fadeICF0; // Useless variable? (always the same value)
int _policeEvent;