aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-12 09:16:58 +0300
committerEugene Sandulenko2013-10-12 09:16:58 +0300
commit8ccf02dcaf7ed057d6debfd4c246626155a90a0f (patch)
tree1c04f5ff6984cd40e11286404493ff1571f51159 /engines/lastexpress/game
parent22af86340e8462ab8cca73f502684852a9166cfb (diff)
downloadscummvm-rg350-8ccf02dcaf7ed057d6debfd4c246626155a90a0f.tar.gz
scummvm-rg350-8ccf02dcaf7ed057d6debfd4c246626155a90a0f.tar.bz2
scummvm-rg350-8ccf02dcaf7ed057d6debfd4c246626155a90a0f.zip
LASTEXPRESS: Redo d71b48 and use variable instead of commenting it
Diffstat (limited to 'engines/lastexpress/game')
-rw-r--r--engines/lastexpress/game/inventory.cpp4
-rw-r--r--engines/lastexpress/game/inventory.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/lastexpress/game/inventory.cpp b/engines/lastexpress/game/inventory.cpp
index 8edef90da3..2f1b0a8e76 100644
--- a/engines/lastexpress/game/inventory.cpp
+++ b/engines/lastexpress/game/inventory.cpp
@@ -44,7 +44,7 @@
namespace LastExpress {
Inventory::Inventory(LastExpressEngine *engine) : _engine(engine), _selectedItem(kItemNone), _highlightedItemIndex(0), _itemsShown(0),
- /*_showingHourGlass(false), */ _blinkingDirection(1), _blinkingBrightness(0),
+ _showingHourGlass(false), _blinkingDirection(1), _blinkingBrightness(0),
_useMagnifier(false), _portraitHighlighted(false), _isOpened(false), _eggHightlighted(false), _itemScene(NULL) {
//_inventoryRect = Common::Rect(0, 0, 32, 32);
@@ -52,6 +52,8 @@ Inventory::Inventory(LastExpressEngine *engine) : _engine(engine), _selectedItem
_selectedItemRect = Common::Rect(44, 0, 76, 32);
init();
+
+ debug(9, "_showingHourGlass: %d", _showingHourGlass);
}
Inventory::~Inventory() {
diff --git a/engines/lastexpress/game/inventory.h b/engines/lastexpress/game/inventory.h
index 9b82ef031d..b1019a43c6 100644
--- a/engines/lastexpress/game/inventory.h
+++ b/engines/lastexpress/game/inventory.h
@@ -140,7 +140,7 @@ private:
uint32 _itemsShown;
- //bool _showingHourGlass;
+ bool _showingHourGlass;
int16 _blinkingDirection;
uint16 _blinkingBrightness;