diff options
| author | aura <nw@moneybot.cc> | 2026-03-05 07:26:54 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-05 07:26:54 +0100 |
| commit | 4d263a68547daaa560cdb9363ffe379df7a1076f (patch) | |
| tree | 0da9423dfe8dab651fd8a13d2b23ac02ab284d37 /src/game/world/bsp.cpp | |
| parent | 784d6e46884f47c5d7c02380a1bbf09747bbd047 (diff) | |
fix non-sweep traces, refactor some bsp, fix sprite crash in view2d
Diffstat (limited to 'src/game/world/bsp.cpp')
| -rw-r--r-- | src/game/world/bsp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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_FACE> 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_FACE> 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]; |
