forked from mirror/openmw-tes3mp
[Server] Make GetFactionExpelledState() return a bool instead of an int
This commit is contained in:
parent
a2e2ca7cab
commit
0595192129
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ int FactionFunctions::GetFactionRank(unsigned short pid, unsigned int i) noexcep
|
||||||
return player->factionChanges.factions.at(i).rank;
|
return player->factionChanges.factions.at(i).rank;
|
||||||
}
|
}
|
||||||
|
|
||||||
int FactionFunctions::GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept
|
bool FactionFunctions::GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept
|
||||||
{
|
{
|
||||||
Player *player;
|
Player *player;
|
||||||
GET_PLAYER(pid, player, 0);
|
GET_PLAYER(pid, player, 0);
|
||||||
|
|
|
@ -22,7 +22,7 @@ public:
|
||||||
|
|
||||||
static const char *GetFactionId(unsigned short pid, unsigned int i) noexcept;
|
static const char *GetFactionId(unsigned short pid, unsigned int i) noexcept;
|
||||||
static int GetFactionRank(unsigned short pid, unsigned int i) noexcept;
|
static int GetFactionRank(unsigned short pid, unsigned int i) noexcept;
|
||||||
static int GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept;
|
static bool GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept;
|
||||||
|
|
||||||
static void SendFactionChanges(unsigned short pid) noexcept;
|
static void SendFactionChanges(unsigned short pid) noexcept;
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue