mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-22 07:01:29 +00:00
[Cleanup] Fix casing in corpse money and decay time. (#3511)
# Notes - These were uppercase and should be lowercase.
This commit is contained in:
parent
1d96ddb60d
commit
6c2886a71d
@ -5224,12 +5224,12 @@ void Client::Handle_OP_ConsiderCorpse(const EQApplicationPacket *app)
|
|||||||
|
|
||||||
uint32 decay_time = t->GetDecayTime();
|
uint32 decay_time = t->GetDecayTime();
|
||||||
if (decay_time) {
|
if (decay_time) {
|
||||||
auto time_string = Strings::SecondsToTime(decay_time, true);
|
const std::string& time_string = Strings::SecondsToTime(decay_time, true);
|
||||||
Message(
|
Message(
|
||||||
Chat::NPCQuestSay,
|
Chat::NPCQuestSay,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"This corpse will decay in {}.",
|
"This corpse will decay in {}.",
|
||||||
time_string
|
Strings::ToLower(time_string)
|
||||||
).c_str()
|
).c_str()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -1207,7 +1207,7 @@ void Corpse::MakeLootRequestPackets(Client* client, const EQApplicationPacket* a
|
|||||||
client->Message(
|
client->Message(
|
||||||
Chat::Yellow,
|
Chat::Yellow,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"This corpse Contains {}.",
|
"This corpse contains {}.",
|
||||||
Strings::Money(
|
Strings::Money(
|
||||||
GetPlatinum(),
|
GetPlatinum(),
|
||||||
GetGold(),
|
GetGold(),
|
||||||
@ -1217,7 +1217,7 @@ void Corpse::MakeLootRequestPackets(Client* client, const EQApplicationPacket* a
|
|||||||
).c_str()
|
).c_str()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
client->Message(Chat::Yellow, "This corpse Contains no money.");
|
client->Message(Chat::Yellow, "This corpse contains no money.");
|
||||||
}
|
}
|
||||||
|
|
||||||
auto outapp = new EQApplicationPacket(OP_MoneyOnCorpse, sizeof(moneyOnCorpseStruct));
|
auto outapp = new EQApplicationPacket(OP_MoneyOnCorpse, sizeof(moneyOnCorpseStruct));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user