aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-07-19 02:47:52 +0200
committerThierry Crozat2018-01-23 00:00:11 +0000
commitd70ded12f67b45a9693dbd04f13f6240b344cd9b (patch)
tree6cc44af4af330f2045a714a6fb7933018c9883b8 /engines
parent4fc7f73442ac3acb0d25b2284c8662c6ff9b774b (diff)
downloadscummvm-rg350-d70ded12f67b45a9693dbd04f13f6240b344cd9b.tar.gz
scummvm-rg350-d70ded12f67b45a9693dbd04f13f6240b344cd9b.tar.bz2
scummvm-rg350-d70ded12f67b45a9693dbd04f13f6240b344cd9b.zip
SUPERNOVA: Fixes that objects are removed when taken
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 0e811bfbb0..b1e418268c 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -461,7 +461,7 @@ void GameManager::takeObject(Object &obj) {
return;
if (obj._section != 0)
- _vm->renderImage(_currentRoom->getFileNumber(), obj._section);
+ drawImage(obj._section);
obj.setProperty(CARRIED);
obj._click = obj._click2 = 255;
_inventory.add(obj);