mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 21:49:55 +00:00
[Server] Use clearer function name for checking creature name display
This commit is contained in:
parent
a01fc577f1
commit
db41704e52
2 changed files with 25 additions and 25 deletions
|
@ -100,7 +100,7 @@ const char *MechanicsFunctions::GetCreatureRefId(unsigned short pid) noexcept
|
|||
return player->creatureRefId.c_str();
|
||||
}
|
||||
|
||||
bool MechanicsFunctions::DisplaysCreatureName(unsigned short pid) noexcept
|
||||
bool MechanicsFunctions::GetCreatureNameDisplayState(unsigned short pid) noexcept
|
||||
{
|
||||
Player *player;
|
||||
GET_PLAYER(pid, player, 0);
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{"GetScale", MechanicsFunctions::GetScale},\
|
||||
{"IsWerewolf", MechanicsFunctions::IsWerewolf},\
|
||||
{"GetCreatureRefId", MechanicsFunctions::GetCreatureRefId},\
|
||||
{"DisplaysCreatureName", MechanicsFunctions::DisplaysCreatureName},\
|
||||
{"GetCreatureNameDisplayState", MechanicsFunctions::GetCreatureNameDisplayState},\
|
||||
\
|
||||
{"SetMarkCell", MechanicsFunctions::SetMarkCell},\
|
||||
{"SetMarkPos", MechanicsFunctions::SetMarkPos},\
|
||||
|
@ -138,7 +138,7 @@ public:
|
|||
* \param pid The player ID.
|
||||
* \return The creature name display state.
|
||||
*/
|
||||
static bool DisplaysCreatureName(unsigned short pid) noexcept;
|
||||
static bool GetCreatureNameDisplayState(unsigned short pid) noexcept;
|
||||
|
||||
/**
|
||||
* \brief Set the Mark cell of a player.
|
||||
|
|
Loading…
Reference in a new issue