From 3f540c3201862d5190dfbcbd970788aecb38ac38 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 24 Sep 2022 23:02:32 +0200 Subject: [PATCH] - removed unused global variable. --- source/build/src/clip.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/build/src/clip.cpp b/source/build/src/clip.cpp index 1c49648b1..aeff8a280 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -1102,8 +1102,6 @@ static inline void hit_set(HitInfoBase *hit, sectortype* sect, walltype* wal, DC hit->hitpos.Z = z * zinttoworld; } -static int32_t hitscan_hitsectcf=-1; - // stat, heinum, z: either ceiling- or floor- // how: -1: behave like ceiling, 1: behave like floor static int32_t hitscan_trysector(const vec3_t *sv, sectortype* sec, HitInfoBase *hit, @@ -1152,7 +1150,6 @@ static int32_t hitscan_trysector(const vec3_t *sv, sectortype* sec, HitInfoBase if (inside(x1,y1,sec) == 1) { hit_set(hit, sec, nullptr, nullptr, x1, y1, z1); - hitscan_hitsectcf = (how+1)>>1; } }