mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
DataCache: add missing check
Must check on this animrig cache handle as well.
This commit is contained in:
parent
d20eeea5d4
commit
76240c5064
@ -159,7 +159,7 @@ studiohdr_t* CMDLCache::FindUncachedMDL(CMDLCache* const cache, const MDLHandle_
|
||||
if (!pStudioData->modelCache)
|
||||
{
|
||||
studioanimcache_t* const animCache = pStudioData->GetAnimCache();
|
||||
if (animCache)
|
||||
if (IS_VALID_DATACACHE_HANDLE(animCache))
|
||||
{
|
||||
studioHdr = animCache->GetStudioHdr();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user