Core/PacketIO: Fix and enable SMSG_MESSAGECHAT

TODO: 	- Send addon prefix in this packet when language is Addon
	- Cleanup uses of SMSG_MESSAGECHAT (17 different "handlers" for it is not okay) (long term)
	- Missing a CMSG_MESSAGECHAT_ADDON_x or two
This commit is contained in:
Nay committed 2012-08-04 01:39:18 +01:00
1 parent 12307c7d06
commit 48db4b2b7d
6 files changed
+19 -7

No files matched your search

+6 -5
View File
@@ -1619,13 +1619,14 @@ void WorldSession::HandleTransmogrifyItems(WorldPacket& recvData)
cost += itemTransmogrified->GetTransmogrifyCost();
}
// trusting the client, if it got here it has to have enough money
// ... unless client was modified
if (cost) // 0 cost if reverting look
player->ModifyMoney(-cost);
}
// trusting the client, if it got here it has to have enough money
// ... unless client was modified
if (cost) // 0 cost if reverting look
player->ModifyMoney(-cost);
delete[] itemGuids;
delete[] newEntries;
delete[] slots;