remove unnecessary enum-to-int cast

This commit is contained in:
Devin J. Pohly
2014-02-08 21:39:26 -05:00
parent 9916275a8a
commit 911a0d6471
+1 -1
View File
@@ -2947,7 +2947,7 @@ void GameManager::GetStepsTypesForGame( const Game *pGame, vector<StepsType>& aS
// that we aren't doubling up.
bool found = false;
for( unsigned j=0; j < aStepsTypeAddTo.size(); j++ )
if( (int) st == (int) aStepsTypeAddTo[j] ) { found = true; break; }
if( st == aStepsTypeAddTo[j] ) { found = true; break; }
if(found) continue;
aStepsTypeAddTo.push_back( st );