Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeegCL committed May 31, 2018
1 parent 7dfbe9e commit 697b6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npc_emblem_transfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class npc_emblem_transfer : public CreatureScript
uint64 targetGuid = MAKE_NEW_GUID(action, 0, HIGHGUID_PLAYER);
uint32 receivedAmount = transferAmount * (1.0f - penalty);
CharacterDatabase.PExecute("INSERT INTO emblem_transferences(sender_guid, receiver_guid, emblem_entry, amount) VALUES (%u, %u, %u, %u)", player->GetSession()->GetGuidLow(), targetGuid, emblemId, receivedAmount);
player->DestroyItemCount(emblemId, (int)-transferAmount, true, false);
player->DestroyItemCount(emblemId, transferAmount, true, false);

player->PlayerTalkClass->ClearMenus(); // Clear window before farewell
player->ADD_GOSSIP_ITEM(GOSSIP_ICON_TAXI, "Transfer completed! Log in with your other character to retrieve the emblems", GOSSIP_SENDER_MAIN, ACTION_CLOSE);
Expand Down

0 comments on commit 697b6db

Please sign in to comment.