From c77cbf39b25e2517b1f8424a84da47b396431cda Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 25 Mar 2017 13:42:57 +0100 Subject: [PATCH] [IMapEnts] Correct map ents if no preset found --- src/Components/Modules/AssetInterfaces/IMapEnts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/AssetInterfaces/IMapEnts.cpp b/src/Components/Modules/AssetInterfaces/IMapEnts.cpp index 9b47a1ca..6eeab688 100644 --- a/src/Components/Modules/AssetInterfaces/IMapEnts.cpp +++ b/src/Components/Modules/AssetInterfaces/IMapEnts.cpp @@ -37,7 +37,7 @@ namespace Assets } else { - entites->name = builder->getAllocator()->duplicateString(Utils::String::VA("maps/mp/%s.d3dbsp", name)); + entites->name = builder->getAllocator()->duplicateString(Utils::String::VA("maps/mp/%s.d3dbsp", name.data())); entites->stageCount = 1; entites->stages = builder->getAllocator()->allocate(); entites->stages[0].stageName = "stage 0";