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:
parent
8125400f7f
commit
ac5cc871de
@ -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)
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user