diff --git a/r5dev/game/shared/animation.cpp b/r5dev/game/shared/animation.cpp index f9199e7a..d69d2a54 100644 --- a/r5dev/game/shared/animation.cpp +++ b/r5dev/game/shared/animation.cpp @@ -13,7 +13,7 @@ //----------------------------------------------------------------------------- int CStudioHdr::LookupSequence(CStudioHdr* pStudio, const char* pszName) { - if (!pStudio->m_pMdlCacheVTable) + if (!pStudio->m_pMDLCache) return -1; // animations are unavailable for missing dynamic props! (mdl/error.rmdl). return v_CStudioHdr__LookupSequence(pStudio, pszName);