From 4d263a68547daaa560cdb9363ffe379df7a1076f Mon Sep 17 00:00:00 2001 From: aura Date: Thu, 5 Mar 2026 07:26:54 +0100 Subject: fix non-sweep traces, refactor some bsp, fix sprite crash in view2d --- src/game/world/bsp.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/world/bsp.cpp') diff --git a/src/game/world/bsp.cpp b/src/game/world/bsp.cpp index 4894d1c..f5fb0e9 100644 --- a/src/game/world/bsp.cpp +++ b/src/game/world/bsp.cpp @@ -168,6 +168,7 @@ LIST bsp_map_faces_from_walls( WORLD_MAP* map ) { f.verts.push( vertices[1] ); f.verts.push( vertices[0] ); f.verts.push( vertices[3] ); + f.hitmask = HM_WORLD; ret.push( f ); }; @@ -188,6 +189,7 @@ LIST bsp_map_faces_from_planes( WORLD_MAP* map ) { f.verts.push( *start ); f.verts.push( *last ); f.verts.push( p->vertices[i] ); + f.hitmask = HM_WORLD; ret.push( f ); last = &p->vertices[i]; -- cgit v1.2.3