This commit is contained in:
Glenn Maynard
2007-04-08 17:38:02 +00:00
parent 6f9157ff61
commit 18a401afa6
+1 -1
View File
@@ -1881,7 +1881,7 @@ bool GameState::ChangePreferredCourseDifficulty( PlayerNumber pn, int dir )
CourseDifficulty cd = m_PreferredCourseDifficulty[pn];
while( 1 )
{
cd = (CourseDifficulty)(cd+dir);
cd = enum_add2( cd, dir );
if( cd < 0 || cd >= NUM_Difficulty )
return false;
if( find(v.begin(),v.end(),cd) == v.end() )