Fix "OFF" not working.

This commit is contained in:
Glenn Maynard
2003-07-12 19:20:01 +00:00
parent 51ac4509b1
commit 93824687ef
+2
View File
@@ -281,6 +281,7 @@ void ScreenPlayerOptions::ExportOptions()
default: ASSERT(0);
}
ZERO( po.m_fAccels );
if( m_iSelectedOption[p][PO_ACCEL] != 0 )
po.SetOneAccel( (PlayerOptions::Accel)(m_iSelectedOption[p][PO_ACCEL]-1) );
@@ -293,6 +294,7 @@ void ScreenPlayerOptions::ExportOptions()
po.m_fEffects[e] = on? 1.0f:0.0f;
}
ZERO( po.m_fAppearances );
if( m_iSelectedOption[p][PO_APPEAR] != 0 )
po.SetOneAppearance( (PlayerOptions::Appearance)(m_iSelectedOption[p][PO_APPEAR]-1) );