mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove redundant check
This commit is contained in:
parent
1d48574731
commit
84181f931c
@ -7,12 +7,6 @@
|
||||
#include "engine/modelloader.h"
|
||||
#include "bsplib/bsplib.h"
|
||||
|
||||
struct CStaticPropMaterialGlue
|
||||
{
|
||||
void* m_pVTable0;
|
||||
void* m_pVTable1;
|
||||
};
|
||||
|
||||
//__int64 __fastcall BuildPropStaticFrustumCullMap(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4, __int64 a5, __int64 a6, __int64 a7)
|
||||
//{
|
||||
// if (staticProp_defaultBuildFrustum->GetBool())
|
||||
@ -398,8 +392,6 @@ __int64 __fastcall BuildPropStaticFrustumCullMap(__int64 a1, __int64 a2, unsigne
|
||||
static CModule::ModuleSections_t mPData = g_mGameDll.GetSectionByName(".pdata");
|
||||
if ((uintptr_t)v68 < mData.m_pSectionBase || (uintptr_t)v68 > mPData.m_pSectionBase)
|
||||
return 0i64;
|
||||
if (*(void**)v68 != g_pMaterialGlueVTable)
|
||||
return 0i64;
|
||||
|
||||
++v64;
|
||||
v67 += 92i64;
|
||||
|
Loading…
x
Reference in New Issue
Block a user