mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
o Fixed "Auto Director" button in HLTV.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@579 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
5d6d063864
commit
970cc83a2b
1 changed files with 2 additions and 2 deletions
|
@ -93,11 +93,11 @@ void SpectatorPanel::StateChanged(CCheckButton2* pButton)
|
|||
{
|
||||
if (m_autoDirectorButton->IsChecked())
|
||||
{
|
||||
gEngfuncs.Cvar_SetValue("spec_autodirector", 1);
|
||||
gEngfuncs.Cvar_SetValue("spec_autodirector", 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
gEngfuncs.Cvar_SetValue("spec_autodirector", 0);
|
||||
gEngfuncs.Cvar_SetValue("spec_autodirector", 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue