diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-10-10 22:11:02 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-10-10 22:11:41 +0200 |
commit | 7512ffb0587eccd8fbb2a2841900d572056dbae3 (patch) | |
tree | 4a2a3dfee9ee33f23744d0b3b0284858e793da1b /src/server/game/Handlers/InspectHandler.cpp | |
parent | ee682544d027c1e33dcade592422a2d5b5e57ddb (diff) |
Core/Entities: Update updatefields to 8.0.1.27980
Diffstat (limited to 'src/server/game/Handlers/InspectHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/InspectHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Handlers/InspectHandler.cpp b/src/server/game/Handlers/InspectHandler.cpp index 2d8c559de51..598f00c519f 100644 --- a/src/server/game/Handlers/InspectHandler.cpp +++ b/src/server/game/Handlers/InspectHandler.cpp @@ -97,9 +97,9 @@ void WorldSession::HandleRequestHonorStatsOpcode(WorldPackets::Inspect::RequestH WorldPackets::Inspect::InspectHonorStats honorStats; honorStats.PlayerGUID = request.TargetGUID; - honorStats.LifetimeHK = player->GetUInt32Value(PLAYER_FIELD_LIFETIME_HONORABLE_KILLS); - honorStats.YesterdayHK = player->GetUInt16Value(PLAYER_FIELD_KILLS, PLAYER_FIELD_KILLS_OFFSET_YESTERDAY_KILLS); - honorStats.TodayHK = player->GetUInt16Value(PLAYER_FIELD_KILLS, PLAYER_FIELD_KILLS_OFFSET_TODAY_KILLS); + honorStats.LifetimeHK = player->GetUInt32Value(ACTIVE_PLAYER_FIELD_LIFETIME_HONORABLE_KILLS); + honorStats.YesterdayHK = player->GetUInt16Value(ACTIVE_PLAYER_FIELD_KILLS, PLAYER_FIELD_KILLS_OFFSET_YESTERDAY_KILLS); + honorStats.TodayHK = player->GetUInt16Value(ACTIVE_PLAYER_FIELD_KILLS, PLAYER_FIELD_KILLS_OFFSET_TODAY_KILLS); honorStats.LifetimeMaxRank = 0; /// @todo SendPacket(honorStats.Write()); |