MADS: Remove some redundant TODOs

This commit is contained in:
Paul Gilbert 2014-05-21 08:32:39 -04:00
parent c0b9a5a58f
commit 057f239ed6
10 changed files with 1 additions and 54 deletions

View file

@ -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() {