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.
This commit is contained in:
Shendare 2015-11-14 11:40:28 -08:00
parent f6c2c07a94
commit 7c41472877

View File

@ -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!");