summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game-server/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/inventory.cpp b/src/game-server/inventory.cpp
index 1eaf8b91..e244f651 100644
--- a/src/game-server/inventory.cpp
+++ b/src/game-server/inventory.cpp
@@ -119,7 +119,7 @@ void Inventory::initialize()
<< it2->second.itemId << " from the equipment of '"
<< mCharacter->getName()
<< "'!");
- mPoss->equipSlots.erase(++it2);
+ mPoss->equipSlots.erase(it2++);
continue;
}