[ZoneBuilder] Random fixes but clipmap import still doesn't work

This commit is contained in:
TheApadayo 2016-12-29 14:51:42 -05:00
parent e95bf591cf
commit 8974da19bb
2 changed files with 1 additions and 5 deletions

View File

@ -20,7 +20,7 @@ namespace Assets
}
else
{
entites->name = builder->getAllocator()->duplicateString(name);
entites->name = builder->getAllocator()->duplicateString(Utils::String::VA("maps/mp/%s.d3dbsp", name));
}
entites->entityString = builder->getAllocator()->duplicateString(ents.getBuffer());

View File

@ -775,10 +775,6 @@ namespace Assets
memset(clipMap->cBrushes, 0, sizeof(Game::cbrush_t) * clipMap->numCBrushes);
for (int i = 0; i < clipMap->numCBrushes; ++i)
{
if (i == 134)
{
__debugbreak();
}
clipMap->cBrushes[i].numsides = reader.read<unsigned int>() & 0xFFFF; // todo: check for overflow here
if (clipMap->cBrushes[i].numsides > 0)
{