mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
I_Assert for result/point != NULL
This commit is contained in:
parent
ecb4111bed
commit
192d0b6410
1 changed files with 3 additions and 0 deletions
|
|
@ -792,6 +792,9 @@ void K_ObjectTracking(trackingResult_t *result, vector3_t *point, UINT8 cameraNu
|
||||||
fixed_t h;
|
fixed_t h;
|
||||||
INT32 da;
|
INT32 da;
|
||||||
|
|
||||||
|
I_Assert(result != NULL);
|
||||||
|
I_Assert(point != NULL);
|
||||||
|
|
||||||
// Initialize defaults
|
// Initialize defaults
|
||||||
result->x = result->y = 0;
|
result->x = result->y = 0;
|
||||||
result->scale = FRACUNIT;
|
result->scale = FRACUNIT;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue