parent
da75a76ed9
commit
365805afe8
|
@ -1685,8 +1685,8 @@ static void opAddObjectToInventory(Program* program)
|
||||||
// 0x456708
|
// 0x456708
|
||||||
static void opRemoveObjectFromInventory(Program* program)
|
static void opRemoveObjectFromInventory(Program* program)
|
||||||
{
|
{
|
||||||
Object* owner = static_cast<Object*>(programStackPopPointer(program));
|
|
||||||
Object* item = static_cast<Object*>(programStackPopPointer(program));
|
Object* item = static_cast<Object*>(programStackPopPointer(program));
|
||||||
|
Object* owner = static_cast<Object*>(programStackPopPointer(program));
|
||||||
|
|
||||||
if (owner == NULL || item == NULL) {
|
if (owner == NULL || item == NULL) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue