From 48059698c184c5da88b7d3ff4316fa613b86e3d7 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 23 Dec 2016 00:10:49 +0100 Subject: [PATCH] [IclipMap_t] Don't store collision borders --- src/Components/Modules/AssetInterfaces/IclipMap_t.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Components/Modules/AssetInterfaces/IclipMap_t.cpp b/src/Components/Modules/AssetInterfaces/IclipMap_t.cpp index d8584f0e..05758163 100644 --- a/src/Components/Modules/AssetInterfaces/IclipMap_t.cpp +++ b/src/Components/Modules/AssetInterfaces/IclipMap_t.cpp @@ -257,13 +257,7 @@ namespace Assets SaveLogEnter("CollisionBorder"); buffer->align(Utils::Stream::ALIGN_4); - - for (int i = 0; i < asset->numCollisionBorders; ++i) - { - builder->storePointer(&asset->collisionBorders[i]); - buffer->save(&asset->collisionBorders[i]); - } - + buffer->saveArray(&asset->collisionBorders, asset->numCollisionBorders); Utils::Stream::ClearPointer(&dest->collisionBorders); SaveLogExit(); }