aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/inventory.cpp')
-rw-r--r--engines/tony/inventory.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/tony/inventory.cpp b/engines/tony/inventory.cpp
index 50e4dd9411..9d673459c5 100644
--- a/engines/tony/inventory.cpp
+++ b/engines/tony/inventory.cpp
@@ -64,6 +64,18 @@ RMInventory::RMInventory() {
m_bCombining = false;
m_csModifyInterface = g_system->createMutex();
m_nItems = 0;
+
+ Common::fill(m_inv, m_inv + 256, 0);
+ m_nInv = 0;
+ m_curPutY = 0;
+ m_curPutTime = 0;
+ m_curPos = 0;
+ m_bHasFocus = false;
+ m_nSelectObj = 0;
+ m_nCombine = 0;
+ m_bBlinkingRight = false;
+ m_bBlinkingLeft = false;
+ miniAction = 0;
}
RMInventory::~RMInventory() {
@@ -932,6 +944,7 @@ void RMInterface::Init(void) {
*/
m_bActive = false;
m_bPalesati = false;
+ m_lastHotZone = 0;
}
void RMInterface::Close(void) {