Remove some pointless if statements

This commit is contained in:
Kyle Fuller
2011-03-27 23:21:28 +01:00
parent e62ec2dc82
commit d735e9d881
7 changed files with 10 additions and 48 deletions

View File

@@ -44,10 +44,7 @@ inline bool FOR_EACH_MODULE_CanContinue(FOR_EACH_MODULE_Type& state, CModules::i
i = state.CMuser.begin();
state.bOnCMuser = true;
}
if (state.bOnCMuser && i == state.CMuser.end()) {
return false;
}
return true;
return !(state.bOnCMuser && i == state.CMuser.end());
}
#define FOR_EACH_MODULE(I, pUser)\