diff options
Diffstat (limited to 'engines/mads/user_interface.cpp')
| -rw-r--r-- | engines/mads/user_interface.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index 4d8ed82f98..3fab30a0ab 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -838,7 +838,6 @@ void UserInterface::addConversationMessage(int vocabId, const Common::String &ms void UserInterface::loadInventoryAnim(int objectId) { Scene &scene = _vm->_game->_scene; noInventoryAnim(); - bool flag = true; if (_vm->_invObjectsAnimated) { Common::String resName = Common::String::format("*OB%.3dI", objectId); @@ -846,13 +845,8 @@ void UserInterface::loadInventoryAnim(int objectId) { _invSpritesIndex = scene._sprites.add(asset, 1); if (_invSpritesIndex >= 0) { _invFrameNumber = 1; - flag = false; } } - - if (flag) { - // TODO: Use of inv_object_data? - } } void UserInterface::noInventoryAnim() { |
