[IMapEnts] Correct map ents if no preset found

This commit is contained in:
momo5502 2017-03-25 13:42:57 +01:00
parent 67717b589a
commit c77cbf39b2

View File

@ -37,7 +37,7 @@ namespace Assets
} }
else 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->stageCount = 1;
entites->stages = builder->getAllocator()->allocate<Game::Stage>(); entites->stages = builder->getAllocator()->allocate<Game::Stage>();
entites->stages[0].stageName = "stage 0"; entites->stages[0].stageName = "stage 0";