diff options
Diffstat (limited to 'src/game/world/bsp_draw.cpp')
| -rw-r--r-- | src/game/world/bsp_draw.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/world/bsp_draw.cpp b/src/game/world/bsp_draw.cpp index 30e6731..3f5b067 100644 --- a/src/game/world/bsp_draw.cpp +++ b/src/game/world/bsp_draw.cpp @@ -2,6 +2,7 @@ #include "../../game.h" #include "../../render/gl_3d.h" #include "../objlist.h" +#include "bsp.h" #include "map.h" #include "trace.h" @@ -70,7 +71,7 @@ void bsp_draw_sprites( BSP* bsp, GAME_DATA* game ) { LIST<MAP_SPRITE>* sprites = &game->state.map->sprites; for( U32 i = 0; i < sprites->size; ++i ) { MAP_SPRITE* sprite = &sprites->data[i]; - BSP_TRACE t; + BSP_TRACE t{ .hitmask = HG_SOLID }; t.in_start = player_get_view_pos( objl->pl ); t.in_end = sprite->pos; |
