aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-07-02 11:28:45 +0300
committerAndrei Prykhodko2018-07-02 11:47:22 +0300
commit114bd5367cac52401d88e548fb0bc84e4ec8627c (patch)
tree452bb36d50e5b9f8ceb283060ff7e33e044c2733 /engines
parentd3643d3931c9e033ad9f4975c2102d96574f6b7c (diff)
downloadscummvm-rg350-114bd5367cac52401d88e548fb0bc84e4ec8627c.tar.gz
scummvm-rg350-114bd5367cac52401d88e548fb0bc84e4ec8627c.tar.bz2
scummvm-rg350-114bd5367cac52401d88e548fb0bc84e4ec8627c.zip
PINK: fixed uninitialized field in InventoryMgr
Diffstat (limited to 'engines')
-rw-r--r--engines/pink/objects/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pink/objects/inventory.cpp b/engines/pink/objects/inventory.cpp
index c99e6c6d9c..ff685d1573 100644
--- a/engines/pink/objects/inventory.cpp
+++ b/engines/pink/objects/inventory.cpp
@@ -34,8 +34,8 @@ namespace Pink {
InventoryMgr::InventoryMgr()
: _lead(nullptr), _window(nullptr), _itemActor(nullptr),
- _rightArrow(nullptr), _leftArrow(nullptr), _state(kIdle),
- _isClickedOnItem(false) {}
+ _rightArrow(nullptr), _leftArrow(nullptr), _item(nullptr),
+ _state(kIdle), _isClickedOnItem(false) {}
void InventoryItem::deserialize(Archive &archive) {
NamedObject::deserialize(archive);