fix compile

This commit is contained in:
Glenn Maynard
2005-02-27 21:57:09 +00:00
parent 1788322c4b
commit 7c4fd2d0ca
+1 -1
View File
@@ -71,7 +71,7 @@ CString ModeSwitcher::GetStyleName()
{
if( GAMESTATE->IsPlayerEnabled(i) )
{
switch(GAMESTATE->m_PreferredDifficulty[i])
switch( GAMESTATE->m_PreferredDifficulty[i].Get() )
{
case DIFFICULTY_BEGINNER: sDiff[i] = "Beginner\n"; break;
case DIFFICULTY_EASY: