Fix for swapping a stack with another item that is not of the same stack size. Added some console visualization for testing and added basics of data modeling for inventory, saving soon.

This commit is contained in:
KimLS
2015-03-02 19:38:57 -08:00
parent abc5ddc5f8
commit 972d3d8874
10 changed files with 184 additions and 10 deletions
+3
View File
@@ -3139,8 +3139,11 @@ bool Client::SwapItem(const EQEmu::InventorySlot &src, const EQEmu::InventorySlo
if(res) {
Message(0, "Swap success\n");
m_inventory.Interrogate();
} else {
Message(0, "Swap failure!\n");
//should kick the player here...
}
if(auto_attack && res && recalc_weapon_speed) {