mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 15:45:32 +00:00
Fix unsuitable variable name
This commit is contained in:
parent
941d76fce0
commit
ff94b5f1ac
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue