aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index a88672230e..3852d6e698 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -1695,8 +1695,8 @@ void Scumm::o5_verbOps() {
switch(_opcode&0x1F) {
case 1: /* load image */
a = getVarOrDirectWord(0x80);
- if (verb) {
- setVerbObject(_roomResource, a, verb);
+ if (slot) {
+ setVerbObject(_roomResource, a, slot);
vs->type = 1;
}
break;