Merge pull request #4 from azerothcore/fix-build

fix(build): remove useless variables
This commit is contained in:
Stefano Borzì
2020-04-18 13:53:23 +02:00
committed by GitHub

View File

@@ -40,7 +40,6 @@ public:
{ {
Field* fields = result1->Fetch(); Field* fields = result1->Fetch();
uint32 guid = fields[0].GetUInt32();
uint32 race = fields[1].GetUInt8(); uint32 race = fields[1].GetUInt8();
if ((Player::TeamIdForRace(race) == Player::TeamIdForRace(pPlayer->getRace())) || !limitrace) if ((Player::TeamIdForRace(race) == Player::TeamIdForRace(pPlayer->getRace())) || !limitrace)