Codechange: convert printf DEBUG statements to fmt Debug statements

This commit is contained in:
rubidium42
2021-06-12 09:10:17 +02:00
committed by rubidium42
parent a99ac62c1a
commit 55a11710a6
131 changed files with 601 additions and 601 deletions

View File

@@ -1268,7 +1268,7 @@ static void AILoadConfig(IniFile *ini, const char *grpname)
config->Change(item->name.c_str());
if (!config->HasScript()) {
if (item->name != "none") {
DEBUG(script, 0, "The AI by the name '%s' was no longer found, and removed from the list.", item->name.c_str());
Debug(script, 0, "The AI by the name '{}' was no longer found, and removed from the list.", item->name);
continue;
}
}
@@ -1295,7 +1295,7 @@ static void GameLoadConfig(IniFile *ini, const char *grpname)
config->Change(item->name.c_str());
if (!config->HasScript()) {
if (item->name != "none") {
DEBUG(script, 0, "The GameScript by the name '%s' was no longer found, and removed from the list.", item->name.c_str());
Debug(script, 0, "The GameScript by the name '{}' was no longer found, and removed from the list.", item->name);
return;
}
}