From 0c75d8aca3ba28c2b24cbeea6c545509489d809f Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 28 Aug 2025 14:51:11 +0200 Subject: [PATCH] P_CheckCameraPosition can be static --- src/p_local.h | 1 - src/p_map.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/p_local.h b/src/p_local.h index 8840dd4be..c942efa6d 100644 --- a/src/p_local.h +++ b/src/p_local.h @@ -385,7 +385,6 @@ void P_SetThingPosition(mobj_t *thing); void P_SetUnderlayPosition(mobj_t *thing); boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y); -boolean P_CheckCameraPosition(fixed_t x, fixed_t y, camera_t *thiscam); boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff); boolean P_Move(mobj_t *actor, fixed_t speed); boolean P_SetOrigin(mobj_t *thing, fixed_t x, fixed_t y, fixed_t z); diff --git a/src/p_map.c b/src/p_map.c index 76a363383..e4713b431 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -1982,7 +1982,7 @@ void P_CheckHoopPosition(mobj_t *hoopthing, fixed_t x, fixed_t y, fixed_t z, fix // // P_CheckCameraPosition // -boolean P_CheckCameraPosition(fixed_t x, fixed_t y, camera_t *thiscam) +static boolean P_CheckCameraPosition(fixed_t x, fixed_t y, camera_t *thiscam) { INT32 xl, xh, yl, yh, bx, by; sector_t *newsec;