I_Assert for result/point != NULL

This commit is contained in:
Sally Coolatta 2021-02-13 10:37:25 -05:00
parent ecb4111bed
commit 192d0b6410

View file

@ -792,6 +792,9 @@ void K_ObjectTracking(trackingResult_t *result, vector3_t *point, UINT8 cameraNu
fixed_t h;
INT32 da;
I_Assert(result != NULL);
I_Assert(point != NULL);
// Initialize defaults
result->x = result->y = 0;
result->scale = FRACUNIT;