standard enums for some preference types

This commit is contained in:
Glenn Maynard
2006-10-07 05:52:45 +00:00
parent 1bd59aef01
commit 0493bc75a9
8 changed files with 62 additions and 25 deletions
+3 -3
View File
@@ -1232,9 +1232,9 @@ bool GameState::ShowW1() const
{
switch( PREFSMAN->m_AllowW1 )
{
case PrefsManager::ALLOW_W1_NEVER: return false;
case PrefsManager::ALLOW_W1_COURSES_ONLY: return IsCourseMode();
case PrefsManager::ALLOW_W1_EVERYWHERE: return true;
case ALLOW_W1_NEVER: return false;
case ALLOW_W1_COURSES_ONLY: return IsCourseMode();
case ALLOW_W1_EVERYWHERE: return true;
default: ASSERT(0);
}
}