mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-04 16:17:26 +01:00
Fix build
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include "NPCHandler.h"
|
||||
#include "Pet.h"
|
||||
#include "MapManager.h"
|
||||
#include "BattlenetAccountMgr.h"
|
||||
#include "CharacterPackets.h"
|
||||
|
||||
void WorldSession::SendNameQueryOpcode(ObjectGuid guid)
|
||||
{
|
||||
@@ -57,7 +59,7 @@ void WorldSession::SendNameQueryOpcode(ObjectGuid guid)
|
||||
|
||||
if (DeclinedName const* names = (player ? player->GetDeclinedNames() : nullptr))
|
||||
for (int i = 0; i < MAX_DECLINED_NAME_CASES; ++i)
|
||||
response.Data.DeclinedNames.name[i] = names[i];
|
||||
response.Data.DeclinedNames.name[i] = names->name[i];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user