- phase 3 of cppcheck verbose fixes

This commit is contained in:
Mark Vejvoda
2011-09-01 18:08:56 +00:00
parent 57afc2d715
commit bb68106912
18 changed files with 83 additions and 64 deletions

View File

@@ -587,7 +587,7 @@ void MainWindow::onPaint(wxPaintEvent &event) {
}
}
}
else if(modelPathList.size() == 0 && haveLoadedParticles) {
else if(modelPathList.empty() == true && haveLoadedParticles) {
if(renderer->hasActiveParticleSystem(ParticleSystem::pst_ProjectileParticleSystem) == false &&
renderer->hasActiveParticleSystem(ParticleSystem::pst_SplashParticleSystem) == false) {