Fix opRemoveObjectFromInventory arguments order

Closes #83
This commit is contained in:
Alexander Batalov 2022-07-24 11:11:56 +03:00
parent da75a76ed9
commit 365805afe8

View File

@ -1685,8 +1685,8 @@ static void opAddObjectToInventory(Program* program)
// 0x456708
static void opRemoveObjectFromInventory(Program* program)
{
Object* owner = static_cast<Object*>(programStackPopPointer(program));
Object* item = static_cast<Object*>(programStackPopPointer(program));
Object* owner = static_cast<Object*>(programStackPopPointer(program));
if (owner == NULL || item == NULL) {
return;