2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 15:47:46 +00:00

Various bug fixes

This commit is contained in:
Jack Andersen
2016-08-31 13:08:09 -10:00
parent 955d043c9e
commit 129767134e
6 changed files with 18 additions and 7 deletions

View File

@@ -16,6 +16,7 @@
namespace urde
{
static logvisor::Module Log("urde::CModelData");
CModelData::~CModelData() {}
@@ -26,6 +27,8 @@ CModelData::CModelData(const CStaticRes& res)
: x0_particleScale(res.GetScale())
{
x1c_normalModel = g_SimplePool->GetObj({SBIG('CMDL'), res.GetId()});
if (!x1c_normalModel)
Log.report(logvisor::Fatal, "unable to find CMDL %08X", res.GetId());
}
CModelData::CModelData(const CAnimRes& res)