Skip to content

Commit

Permalink
PINK: fixed uninitialized field in InventoryMgr
Browse files Browse the repository at this point in the history
  • Loading branch information
voltya committed Jul 2, 2018
1 parent d3643d3 commit 114bd53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/pink/objects/inventory.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 114bd53

Please sign in to comment.