clang warnings fix + minor refactor

This commit is contained in:
MihailRis
2024-04-15 12:16:04 +03:00
parent 3ebd8f3062
commit adf54b8a38
8 changed files with 53 additions and 49 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ WorldConverter::~WorldConverter() {
void WorldConverter::convertRegion(fs::path file) {
int x, z;
std::string name = file.stem().string();
if (!WorldFiles::parseRegionFilename(name, x, z)) {
if (!WorldRegions::parseRegionFilename(name, x, z)) {
logger.error() << "could not parse name " << name;
return;
}