summaryrefslogtreecommitdiff
path: root/src/game/world/bsp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/world/bsp.cpp')
-rw-r--r--src/game/world/bsp.cpp2
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];