aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-03-19 08:13:35 +0100
committerStrangerke2014-03-19 08:13:35 +0100
commitcfe2257d00af3d608b907f940729138503366760 (patch)
tree58d26aa51c17b5317de9073b5dccfeb7d0125066 /engines
parentb04f7c16935e63f35a46ffe9eec4e712c2b824c8 (diff)
downloadscummvm-rg350-cfe2257d00af3d608b907f940729138503366760.tar.gz
scummvm-rg350-cfe2257d00af3d608b907f940729138503366760.tar.bz2
scummvm-rg350-cfe2257d00af3d608b907f940729138503366760.zip
MADS: Use removeFromInventory and addToInventory in Scene 202
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/nebular_scenes2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp
index 439ac3eeb2..9294378c60 100644
--- a/engines/mads/nebular/nebular_scenes2.cpp
+++ b/engines/mads/nebular/nebular_scenes2.cpp
@@ -385,11 +385,11 @@ void Scene202::actions() {
}
} else if (_game._abortTimers == 2) {
if (_game._objects.isInInventory(OBJ_BONE)) {
- warning("TODO: _game._objects.removeFromInventory(OBJ_BONE, 1);");
- warning("TODO: _game._objects.addToInventory(OBJ_BONES);");
+ _game._objects.removeFromInventory(OBJ_BONE, 1);
+ _game._objects.addToInventory(OBJ_BONES);
warning("TODO: Dialog::showPicture(OBJ_BONES, 0x4EFA, 0);");
} else {
- warning("TODO: _game._objects.addToInventory(OBJ_BONE);");
+ _game._objects.addToInventory(OBJ_BONE);
warning("TODO: Dialog::showPicture(OBJ_BONE, 0x4EFA, 0);");
}
warning("TODO: sub1EB6E(_globals[32];");