[Logging] Fix log messages to final damage values (#2056)

This commit is contained in:
Paul Coene
2022-03-14 12:05:39 -04:00
committed by GitHub
parent b75741ff4e
commit 326dba6aeb
+2 -2
View File
@@ -5803,7 +5803,7 @@ void Client::Handle_OP_EnvDamage(const EQApplicationPacket *app)
Chat::Red,
fmt::format(
"Your GM status protects you from {} points of {} (Type {}) damage.",
ed->damage,
damage,
EQ::constants::GetEnvironmentalDamageName(ed->dmgtype),
ed->dmgtype
).c_str()
@@ -5815,7 +5815,7 @@ void Client::Handle_OP_EnvDamage(const EQApplicationPacket *app)
Chat::Red,
fmt::format(
"Your invulnerability protects you from {} points of {} (Type {}) damage.",
ed->damage,
damage,
EQ::constants::GetEnvironmentalDamageName(ed->dmgtype),
ed->dmgtype
).c_str()