From 7c414728773f3a756bd9ad6960eb7f1ffb8b5865 Mon Sep 17 00:00:00 2001 From: Shendare Date: Sat, 14 Nov 2015 11:40:28 -0800 Subject: [PATCH] Fixed swapping error message You now get the error message if the augment swap doesn't work, instead of when it works. One little bang. --- zone/client_packet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 36c4e1da8..b42b53e04 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -3063,7 +3063,7 @@ void Client::Handle_OP_AugmentItem(const EQApplicationPacket *app) if (itemTwoToPush) { // This is a swap. Return the old aug to the player's cursor. - if (PutItemInInventory(MainCursor, *itemTwoToPush, true)) + if (!PutItemInInventory(MainCursor, *itemTwoToPush, true)) { Log.Out(Logs::General, Logs::Error, "Problem returning old augment to player's cursor after augmentation swap."); Message(15, "Error: Failed to retrieve old augment after augmentation swap!");