aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/res_struct.cpp1
-rw-r--r--engines/lure/res_struct.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp
index 3d77842c6f..6d02584edf 100644
--- a/engines/lure/res_struct.cpp
+++ b/engines/lure/res_struct.cpp
@@ -806,6 +806,7 @@ ValueTableData::ValueTableData() {
_playerPendingPos.pos.y = 0;
_playerPendingPos.isSet = false;
_flags = GAMEFLAG_4 | GAMEFLAG_1;
+ _hdrFlagMask = 1;
for (uint16 index = 0; index < NUM_VALUE_FIELDS; ++index)
_fieldList[index] = 0;
diff --git a/engines/lure/res_struct.h b/engines/lure/res_struct.h
index eab2a7817e..88582e2222 100644
--- a/engines/lure/res_struct.h
+++ b/engines/lure/res_struct.h
@@ -685,6 +685,7 @@ private:
PlayerNewPosition _playerNewPos;
PlayerPendingPosition _playerPendingPos;
uint8 _flags;
+ uint8 _hdrFlagMask;
uint16 _fieldList[NUM_VALUE_FIELDS];
bool isKnownField(uint16 fieldIndex);
@@ -699,6 +700,7 @@ public:
uint16 &numGroats() { return _numGroats; }
uint8 &flags() { return _flags; }
+ uint8 &hdrFlagMask() { return _hdrFlagMask; }
PlayerNewPosition &playerNewPos() { return _playerNewPos; }
PlayerPendingPosition &playerPendingPos() { return _playerPendingPos; }
};