Skip to content

Commit dbcf973

Browse files
committed
Fix build errors
1 parent 425e06d commit dbcf973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/game/NemesisAntiCheat/AntiCheatMgr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ void AntiCheatMgr::CreateCheatReport(std::string hacktype, std::string descripti
534534
std::string playerName = _player->GetName();
535535
uint32 accountId = _player->GetSession()->GetAccountId();
536536
std::string accountName = _player->GetSession()->GetAccountName();
537-
uint32 playerGUID = _player->GetGUID();
537+
ObjectGuid playerGUID = _player->GetGUID();
538538
std::string playerClass = (std::string)GetClassName(_player->GetClass(), 0);
539539
std::string reportLocation = _player->GetMapAreaAndZoneString();
540540

@@ -564,7 +564,7 @@ void AntiCheatMgr::CreateCheatReport(std::string hacktype, std::string descripti
564564
stmt->setUInt32(0, realm.Id.Realm); // realm_id
565565
stmt->setUInt32(1, accountId); // account_id
566566
stmt->setString(2, accountName); // account_name
567-
stmt->setUInt32(3, playerGUID); // character_guid
567+
stmt->setUInt32(3, playerGUID.GetCounter()); // character_guid
568568
stmt->setString(4, playerName); // character_name
569569
stmt->setString(5, playerClass); // character_class
570570
stmt->setString(6, hacktype); // detected_hack

0 commit comments

Comments
 (0)