From 336be738e84628719a45d720b51c3e8bf6ca3a57 Mon Sep 17 00:00:00 2001 From: John FrostFox <john.frostfox@gmail.com> Date: Tue, 2 Nov 2021 20:44:13 +0300 Subject: [PATCH] Don't cull projectiles --- src/d_clisrv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 024ba6f0e..06232e625 100755 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -5468,6 +5468,9 @@ static void RunSimulations() for (current = thlist[THINK_MOBJ].next; current != &thlist[THINK_MOBJ]; current = current->next) { + if (P_IsProjectile(((mobj_t *)current)->type)) + continue; + for (i = 0; i < numPlayers; i++) { if (P_AproxDistance(playerMos[i]->x - ((mobj_t *)current)->x, playerMos[i]->y - ((mobj_t *)current)->y) < minDistance) -- GitLab