mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 23:43:44 +00:00
refactor(Core): apply clang-tidy modernize-raw-string-literal (#3824)
This commit is contained in:
@@ -113,6 +113,6 @@ ADTFile* WDTFile::GetMap(int x, int z)
|
||||
|
||||
char name[512];
|
||||
|
||||
sprintf(name, "World\\Maps\\%s\\%s_%d_%d.adt", filename.c_str(), filename.c_str(), x, z);
|
||||
snprintf(name, sizeof(name), R"(World\Maps\%s\%s_%d_%d.adt)", filename.c_str(), filename.c_str(), x, z);
|
||||
return new ADTFile(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user