aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-init.cpp5
-rw-r--r--engines/hdb/hdb.cpp2
-rw-r--r--engines/hdb/map.cpp1
-rw-r--r--engines/hdb/menu.cpp2
4 files changed, 10 insertions, 0 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp
index 95d4359f73..dbdd24429f 100644
--- a/engines/hdb/ai-init.cpp
+++ b/engines/hdb/ai-init.cpp
@@ -907,6 +907,11 @@ AI::AI() {
_stunAnim = 0;
_stunTimer = g_system->getMillis();
+
+ _clubDownFrames = 0;
+ _clubUpFrames = 0;
+ _clubLeftFrames = 0;
+ _clubRightFrames = 0;
}
AI::~AI() {
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 94abb7bd7d..e7c808a3f4 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -64,6 +64,8 @@ HDBGame::HDBGame(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst
_timePlayed = _timeSlice = _prevTimeSlice = _timeSeconds = _tiempo = 0;
+ _progressActive = false;
+
_monkeystone7 = STARS_MONKEYSTONE_7_FAKE;
_monkeystone14 = STARS_MONKEYSTONE_14_FAKE;
_monkeystone21 = STARS_MONKEYSTONE_21_FAKE;
diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp
index 7846575f0d..195b673e31 100644
--- a/engines/hdb/map.cpp
+++ b/engines/hdb/map.cpp
@@ -794,6 +794,7 @@ bool Map::load(Common::SeekableReadStream *stream) {
}
g_hdb->_ai->initAllEnts();
+ g_hdb->stopProgress();
_mapLoaded = true;
diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp
index ade6156248..654f51d318 100644
--- a/engines/hdb/menu.cpp
+++ b/engines/hdb/menu.cpp
@@ -40,6 +40,8 @@ bool Menu::init() {
_sayHDB = false;
_menuKey = 0;
+ _nextScreen = 0;
+
_nebulaY = 0; // Used as a flag
_fStars[0].y = 0; // Used as a flag