[IclipMap_t] Don't store collision borders

This commit is contained in:
momo5502 2016-12-23 00:10:49 +01:00
parent 9fab21c269
commit 48059698c1

View File

@ -257,13 +257,7 @@ namespace Assets
SaveLogEnter("CollisionBorder"); SaveLogEnter("CollisionBorder");
buffer->align(Utils::Stream::ALIGN_4); buffer->align(Utils::Stream::ALIGN_4);
buffer->saveArray(&asset->collisionBorders, asset->numCollisionBorders);
for (int i = 0; i < asset->numCollisionBorders; ++i)
{
builder->storePointer(&asset->collisionBorders[i]);
buffer->save(&asset->collisionBorders[i]);
}
Utils::Stream::ClearPointer(&dest->collisionBorders); Utils::Stream::ClearPointer(&dest->collisionBorders);
SaveLogExit(); SaveLogExit();
} }