check for those i guess

This commit is contained in:
Alug committed 2024-03-02 18:36:34 +01:00
1 parent 43d232819a
commit 912c0e7fc4
1 file changed
+2 -1
+2 -1
View File
@@ -8902,7 +8902,8 @@ static void K_GetScreenCoords(vector2_t *vec, player_t *player, camera_t *came,
vec->x = -1;
vec->y = -1;
if (!target)
// this should never happen but its also kart so ¯\_(ツ)_/¯
if (!player || !target || !came)
return;
if (player->awayviewtics) {