mirror of
https://github.com/R2Northstar/NorthstarLauncher
synced 2026-08-23 20:26:04 -04:00
Might work.
This commit is contained in:
parent
1b9c374aaf
commit
177f9105ad
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ static bool __fastcall h_pOnWeaponAttack(CWeaponX* weapon, int a2)
|
|||
static int(__fastcall* o_pOnDamageEvent)(int a1, Vector3* pos, int a3, float a4) = nullptr;
|
||||
static int __fastcall h_pOnDamageEvent(int a1, Vector3* pos, int a3, float a4)
|
||||
{
|
||||
if (pos == nullptr)
|
||||
if (!pos)
|
||||
return -1;
|
||||
|
||||
return o_pOnDamageEvent(a1, pos, a3, a4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue