diff --git a/src/mod_achievements.cpp b/src/mod_achievements.cpp index 8001c67..763dab6 100644 --- a/src/mod_achievements.cpp +++ b/src/mod_achievements.cpp @@ -42,7 +42,7 @@ public: { Field* fields = result1->Fetch(); - uint32 race = fields[1].GetUInt8(); + uint32 race = fields[1].Get(); if ((Player::TeamIdForRace(race) == Player::TeamIdForRace(pPlayer->getRace())) || !limitrace) Guids.push_back(result1->Fetch()[0].GetUInt32());