diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game-server/inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/inventory.cpp b/src/game-server/inventory.cpp index 1b5e67e8..c568c58d 100644 --- a/src/game-server/inventory.cpp +++ b/src/game-server/inventory.cpp @@ -760,7 +760,7 @@ bool Inventory::unequipItem(unsigned int itemId) for (std::set<unsigned>::const_iterator it = itemInstances.begin(), it_end = itemInstances.end(); it != it_end; ++it) { - if (!unequip(*it)); + if (!unequip(*it)) return false; } return true; |