Auto keyword
This commit is contained in:
parent
09e565e431
commit
52f675d2ed
@ -252,11 +252,10 @@ namespace Components
|
||||
Utils::IO::WriteFile(Utils::String::VA("raw/%s.ents", name.data()), asset.mapEnts->entityString, true);
|
||||
}
|
||||
|
||||
static std::string mapEntities;
|
||||
FileSystem::File ents(name + ".ents");
|
||||
if (ents.exists())
|
||||
{
|
||||
mapEntities = ents.getBuffer();
|
||||
static const auto mapEntities = ents.getBuffer();
|
||||
asset.mapEnts->entityString = mapEntities.data();
|
||||
asset.mapEnts->numEntityChars = mapEntities.size() + 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user