1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-20 19:57:12 +01:00

Rename the SpectateNone() function to Unspectate().

This commit is contained in:
Sandu Liviu Catalin 2017-08-06 18:24:42 +03:00
parent 8125400f7f
commit ac5cc871de
2 changed files with 3 additions and 3 deletions

View File

@ -1373,7 +1373,7 @@ void CPlayer::SetSpectatorID(SQInteger id) const
}
// ------------------------------------------------------------------------------------------------
void CPlayer::SpectateNone() const
void CPlayer::Unspectate() const
{
// Validate the managed identifier
Validate();
@ -2709,7 +2709,7 @@ void Register_CPlayer(HSQUIRRELVM vm)
.Func(_SC("StripWeapons"), &CPlayer::StripWeapons)
.Func(_SC("RestoreCamera"), &CPlayer::RestoreCamera)
.Func(_SC("Spectating"), &CPlayer::GetSpectator)
.Func(_SC("SpectateNone"), &CPlayer::SpectateNone)
.Func(_SC("Unspectate"), &CPlayer::Unspectate)
.Func(_SC("Spectate"), &CPlayer::SetSpectator)
.Func(_SC("Redirect"), &CPlayer::Redirect)
.Func(_SC("PlaySound"), &CPlayer::PlaySound)

View File

@ -742,7 +742,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Set the managed player entity to spectate no one.
*/
void SpectateNone() const;
void Unspectate() const;
/* --------------------------------------------------------------------------------------------
* Redirect the managed player entity to the specified server.