mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 02:38:45 +00:00
Cleanup
This commit is contained in:
+4
-4
@@ -9055,11 +9055,11 @@ void Client::QuestReward(Mob* target, const QuestReward_Struct &reward, bool fac
|
||||
|
||||
void Client::CashReward(uint32 copper, uint32 silver, uint32 gold, uint32 platinum)
|
||||
{
|
||||
auto outapp = std::make_unique<EQApplicationPacket>(OP_CashReward, sizeof(CashReward_Struct));
|
||||
auto outapp = std::make_unique<EQApplicationPacket>(OP_CashReward, static_cast<uint32>(sizeof(CashReward_Struct)));
|
||||
auto outbuf = reinterpret_cast<CashReward_Struct *>(outapp->pBuffer);
|
||||
outbuf->copper = copper;
|
||||
outbuf->silver = silver;
|
||||
outbuf->gold = gold;
|
||||
outbuf->copper = copper;
|
||||
outbuf->silver = silver;
|
||||
outbuf->gold = gold;
|
||||
outbuf->platinum = platinum;
|
||||
|
||||
AddMoneyToPP(copper, silver, gold, platinum);
|
||||
|
||||
Reference in New Issue
Block a user