Fix unsuitable variable name

pull/58/head
David Cernat 8 years ago
parent 941d76fce0
commit ff94b5f1ac

@ -80,15 +80,15 @@ const char *StatsFunctions::GetRace(unsigned short pid) noexcept
return player->Npc()->mRace.c_str();
}
void StatsFunctions::SetHead(unsigned short pid, const char *race) noexcept
void StatsFunctions::SetHead(unsigned short pid, const char *head) noexcept
{
Player *player;
GET_PLAYER(pid, player,);
if (player->Npc()->mHead == race)
if (player->Npc()->mHead == head)
return;
player->Npc()->mHead = race;
player->Npc()->mHead = head;
}
const char *StatsFunctions::GetHead(unsigned short pid) noexcept

Loading…
Cancel
Save