2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-23 05:12:05 +00:00

chore: use std::format instead of string concat

This commit is contained in:
Jan Laupetin
2025-11-09 23:30:43 +01:00
parent a55146a9de
commit 5e06df6286
3 changed files with 12 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
#include "BSPUtil.h"
#include <format>
#include <ufbx.h>
using namespace BSP;
@@ -262,7 +263,7 @@ namespace BSP
auto bsp = std::make_unique<BSPData>();
bsp->name = mapName;
bsp->bspName = "maps/mp/" + mapName + ".d3dbsp";
bsp->bspName = std::format("maps/mp/{}.d3dbsp", mapName);
loadWorldData(*gfxScene, *bsp, true);
loadWorldData(*colScene, *bsp, false);