From cfe2257d00af3d608b907f940729138503366760 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 19 Mar 2014 08:13:35 +0100 Subject: MADS: Use removeFromInventory and addToInventory in Scene 202 --- engines/mads/nebular/nebular_scenes2.cpp | 6 +++--- 1 file 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];"); -- cgit v1.2.3