mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 10:51:55 +02:00
- loads of code cleanup based on verbose output from the latest git version of cppcheck
This commit is contained in:
@@ -216,7 +216,7 @@ Intro::Intro(Program *program):
|
||||
}
|
||||
}
|
||||
|
||||
if(models.size() == 0) {
|
||||
if(models.empty() == true) {
|
||||
introPath = data_path + "data/core/menu/main_model/intro*.g3d";
|
||||
//vector<string> introModels;
|
||||
findAll(introPath, introModels, false, false);
|
||||
|
Reference in New Issue
Block a user