From 326dba6aebf4712cc08ffdf7fa3e092d8475bf61 Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Mon, 14 Mar 2022 12:05:39 -0400 Subject: [PATCH] [Logging] Fix log messages to final damage values (#2056) --- zone/client_packet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 272251ab8..24d384b2d 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -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()