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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user