From ba8232e29e70c95e83172834c51bb5d80c23a1e7 Mon Sep 17 00:00:00 2001
From: chromaticpipe <127907268+chromaticpipe@users.noreply.github.com>
Date: Thu, 27 Mar 2025 13:17:38 -0500
Subject: [PATCH] I hate git

---
 src/p_maputl.c | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/src/p_maputl.c b/src/p_maputl.c
index 674aece110..e5db7efeb4 100644
--- a/src/p_maputl.c
+++ b/src/p_maputl.c
@@ -844,40 +844,6 @@ static void P_LinkToPrecipBlockMap(precipmobj_t *thing, precipmobj_t **bmap)
 }
 
 
-
-
-static void P_LinkToPrecipBlockMap(precipmobj_t *thing, precipmobj_t **bmap)
-{
-	const INT32 blockx = (unsigned)(thing->x - bmaporgx) >> MAPBLOCKSHIFT;
-	const INT32 blocky = (unsigned)(thing->y - bmaporgy) >> MAPBLOCKSHIFT;
-
-	if (blockx >= 0 && blockx < bmapwidth
-		&& blocky >= 0 && blocky < bmapheight)
-	{
-		// killough 8/11/98: simpler scheme using
-		// pointer-to-pointer prev pointers --
-		// allows head nodes to be treated like everything else
-
-		precipmobj_t **link = &bmap[(blocky * bmapwidth) + blockx];
-		precipmobj_t *bnext = *link;
-
-		thing->bnext = bnext;
-
-		if (bnext != NULL)
-			bnext->bprev = &thing->bnext;
-
-		thing->bprev = link;
-		*link = thing;
-	}
-	else // thing is off the map
-	{
-		thing->bnext = NULL, thing->bprev = NULL;
-	}
-}
-
-
-
-
 static void P_SetThingPositionWith(mobj_t *thing, subsector_t *(*func)(fixed_t x, fixed_t y))
 { 
 	subsector_t *ss;
-- 
GitLab