We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef98013 commit a6f1e6bCopy full SHA for a6f1e6b
Internal/src/dllmain.cpp
@@ -362,7 +362,7 @@ void hkDirectX_EndScene(LPDIRECT3DDEVICE9 device)
362
for (const uintptr_t addr : addresses)
363
{
364
WeaponCannonClass* wcc = reinterpret_cast<WeaponCannonClass*>(addr);
365
- if (PTR_IS_VALID(wcc->weaponName) && PTR_IS_VALID(wcc->GeometryName))
+ if (PTR_IS_VALID(wcc->weaponName) && PTR_IS_VALID(wcc->GeometryName) && PTR_IS_VALID(wcc->ordnancePtr))
366
ordnance[wcc->weaponName] = (uintptr_t)wcc->ordnancePtr;
367
}
368
0 commit comments