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:
puzl 2006-08-26 10:25:31 +00:00
parent 5d6d063864
commit 970cc83a2b

View file

@ -93,11 +93,11 @@ void SpectatorPanel::StateChanged(CCheckButton2* pButton)
{ {
if (m_autoDirectorButton->IsChecked()) if (m_autoDirectorButton->IsChecked())
{ {
gEngfuncs.Cvar_SetValue("spec_autodirector", 1); gEngfuncs.Cvar_SetValue("spec_autodirector", 0);
} }
else else
{ {
gEngfuncs.Cvar_SetValue("spec_autodirector", 0); gEngfuncs.Cvar_SetValue("spec_autodirector", 1);
} }
} }