[IclipMap_t] Read missing SModelAABBNodes

This commit is contained in:
momo5502 2017-04-07 22:07:23 +02:00
parent 8e67a43308
commit 2df233d694

View File

@ -879,6 +879,9 @@ namespace Assets
}
}
clipMap->smodelNodeCount = reader.read<unsigned short>();
clipMap->smodelNodes = reader.readArray<Game::SModelAabbNode>(clipMap->smodelNodeCount);
clipMap->checksum = reader.read<int>();
clipMap->mapEnts = Components::AssetHandler::FindAssetForZone(Game::XAssetType::ASSET_TYPE_MAP_ENTS, Utils::String::VA("maps/mp/%s.d3dbsp", name.data()), builder).mapEnts;