Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CheckRemoveItem: ignore the actor for the swapremove case

otherwise the item is unmovable in other inventories
  • Loading branch information...
commit f3ef5d7c197c2224cd5dc875be65249517b6b919 1 parent fb7a33c
@lynxlynxlynx lynxlynxlynx authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gemrb/plugins/GUIScript/GUIScript.cpp
View
2  gemrb/plugins/GUIScript/GUIScript.cpp
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.