[IMapEnts] Correct map ents if no preset found
This commit is contained in:
parent
67717b589a
commit
c77cbf39b2
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user