fixed wrong argument to vargs

This commit is contained in:
2011-05-06 14:31:28 +02:00
parent ef942fe580
commit 10701d787c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)) {