#include "xmodel_actions.h" #include using namespace IW5; Actions_XModel::Actions_XModel(Zone* zone) : AssetLoadingActions(zone) { } void Actions_XModel::SetModelSurfs(XModelLodInfo* lodInfo, XModelSurfs* modelSurfs) const { if(modelSurfs) { lodInfo->modelSurfs = m_zone->GetMemory()->Create(); memcpy(lodInfo->modelSurfs, modelSurfs, sizeof(XModelSurfs)); } }