diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-03 05:52:23 +0800 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-03 05:57:34 +0800 |
commit | 1c40074d28676ec996ec91f1719cff43077f15f6 (patch) | |
tree | 89cd6a88209bd7f3a6567e84792d83d085ecb52d /src | |
parent | e4a7536e7ca14dcc257d60f8562a9dab61c4fd34 (diff) | |
download | manaserv-1c40074d28676ec996ec91f1719cff43077f15f6.tar.gz manaserv-1c40074d28676ec996ec91f1719cff43077f15f6.tar.bz2 manaserv-1c40074d28676ec996ec91f1719cff43077f15f6.tar.xz manaserv-1c40074d28676ec996ec91f1719cff43077f15f6.zip |
Fixed code not getting executed since it was behind a return
Reviewed-by: o11c.
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 11065545..7bbaf483 100644 --- a/src/game-server/inventory.cpp +++ b/src/game-server/inventory.cpp @@ -545,8 +545,8 @@ bool Inventory::equip(int inventorySlot) InventoryData::iterator it; if ((it = mPoss->inventory.find(inventorySlot)) == mPoss->inventory.end()) { - return false; LOG_DEBUG("No existing item in inventory at slot: " << inventorySlot); + return false; } // Test the equipment scripted requirements |