[Hotfix] Fix to zoning logging exception

This commit is contained in:
Akkadius 2023-08-28 19:44:56 -05:00
parent 37dda9bf41
commit 1652e7a976

View File

@ -56,7 +56,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
auto* zc = (ZoneChange_Struct*)app->pBuffer; auto* zc = (ZoneChange_Struct*)app->pBuffer;
LogZoning( LogZoning(
"Client [{}] zoning to [{}] ({}) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}] zone_mode [{}] ({})", "Client [{}] char_name [{}] zoning to [{}] ({}) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}] zone_mode [{}] ({})",
GetCleanName(), GetCleanName(),
zc->char_name, zc->char_name,
ZoneName(zc->zoneID), ZoneName(zc->zoneID),
@ -68,7 +68,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
zc->zone_reason, zc->zone_reason,
zc->success, zc->success,
GetZoneModeString(zone_mode), GetZoneModeString(zone_mode),
zone_mode int(zone_mode)
); );
uint16 target_zone_id = 0; uint16 target_zone_id = 0;