Skip to content

Commit

Permalink
CheckRemoveItem: ignore the actor for the swapremove case
Browse files Browse the repository at this point in the history
otherwise the item is unmovable in other inventories
  • Loading branch information
lynxlynxlynx committed Jan 11, 2014
1 parent fb7a33c commit f3ef5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemrb/plugins/GUIScript/GUIScript.cpp
Expand Up @@ -7484,7 +7484,7 @@ int CheckRemoveItem(Actor *actor, CREItem *si, int action)
// and make sure not to treat earrings improperly (add other flags as they come)
case CRI_REMOVEFORSWAP:
if ((UsedItems[i].flags&1 && UsedItems[i].flags&4) || UsedItems[i].flags&16) {
if (!nomatch) continue;
continue;
} // no continue
break;
}
Expand Down

0 comments on commit f3ef5d7

Please sign in to comment.