fixed wrong argument to vargs
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ unsigned int Model::InitLevelList () {
|
||||
boost::filesystem::path level_dir(level_dir_name);
|
||||
|
||||
if (!boost::filesystem::exists(level_dir.file_string())) {
|
||||
Engine::LogError ("Could not init level list: %s does not exist!", level_dir.filename());
|
||||
Engine::LogError ("Could not init level list: %s does not exist!", level_dir.filename().c_str());
|
||||
}
|
||||
|
||||
if (!boost::filesystem::is_directory(level_dir)) {
|
||||
|
||||
Reference in New Issue
Block a user