diff --git a/src/interpreter_extra.cc b/src/interpreter_extra.cc index a7c1b83..20d1fb9 100644 --- a/src/interpreter_extra.cc +++ b/src/interpreter_extra.cc @@ -1685,8 +1685,8 @@ static void opAddObjectToInventory(Program* program) // 0x456708 static void opRemoveObjectFromInventory(Program* program) { - Object* owner = static_cast(programStackPopPointer(program)); Object* item = static_cast(programStackPopPointer(program)); + Object* owner = static_cast(programStackPopPointer(program)); if (owner == NULL || item == NULL) { return;