diff --git a/src/mod_account_mount.cpp b/src/mod_account_mount.cpp index 005b6dd..0eabf50 100644 --- a/src/mod_account_mount.cpp +++ b/src/mod_account_mount.cpp @@ -20,8 +20,8 @@ public: } std::vector Guids; - uint32 playerGUID = pPlayer->GetSession()->GetAccountId(); - QueryResult result1 = CharacterDatabase.Query("SELECT `guid`, `race` FROM `characters` WHERE `account`={};", playerGUID); + uint32 playerAccountID = pPlayer->GetSession()->GetAccountId(); + QueryResult result1 = CharacterDatabase.Query("SELECT `guid`, `race` FROM `characters` WHERE `account`={};", playerAccountID); if (!result1) return;