diff options
author | Tobia Tesan | 2013-09-20 13:57:36 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-09-21 23:22:19 +0200 |
commit | aafe8c1f0d45aef7429331b5e00f74d2e42b0ce7 (patch) | |
tree | ce6ea6259ce77599b6fd46874006d17c2853e320 /engines/wintermute/ad/ad_inventory_box.cpp | |
parent | 2e457d96e8095020bce006fd633382bde6c6ae26 (diff) | |
download | scummvm-rg350-aafe8c1f0d45aef7429331b5e00f74d2e42b0ce7.tar.gz scummvm-rg350-aafe8c1f0d45aef7429331b5e00f74d2e42b0ce7.tar.bz2 scummvm-rg350-aafe8c1f0d45aef7429331b5e00f74d2e42b0ce7.zip |
WINTERMUTE: Add getListener()
Diffstat (limited to 'engines/wintermute/ad/ad_inventory_box.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_inventory_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_inventory_box.cpp b/engines/wintermute/ad/ad_inventory_box.cpp index 681d7311b7..313da99a28 100644 --- a/engines/wintermute/ad/ad_inventory_box.cpp +++ b/engines/wintermute/ad/ad_inventory_box.cpp @@ -323,7 +323,7 @@ bool AdInventoryBox::loadBuffer(byte *buffer, bool complete) { if (_window) { for (uint32 i = 0; i < _window->_widgets.size(); i++) { - if (!_window->_widgets[i]->_listenerObject) { + if (!_window->_widgets[i]->getListener()) { _window->_widgets[i]->setListener(this, _window->_widgets[i], 0); } } |