diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 21:27:07 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 21:27:07 +0200 |
commit | f405c37daccac93323081216b2484da498e2fecf (patch) | |
tree | c61932fa3036f1185a1f8fc0dbffdd084c1da12a /src/common.hpp | |
parent | d307234efb1e687bfac06d48b01eb56d748e8510 (diff) |
Tracing vs entities, bullets can now hit.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp index bf4482f..45782f7 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -162,9 +162,9 @@ namespace world { bool test_rect(const cmodel_t *cmodel, const entity_t *ignore); - trace_t ray_v_ents(v2f_t start, v2f_t end, cflags_t cflags, world::entity_t *ignore); + trace_t ray_v_ents(v2f_t start, v2f_t end, cflags_t cflags, const entity_t *ignore); trace_t ray_v_tiles(v2f_t start, v2f_t end, cflags_t cflags); - trace_t ray_v_all(v2f_t start, v2f_t end, cflags_t cflags, world::entity_t *ignore); + trace_t ray_v_all(v2f_t start, v2f_t end, cflags_t cflags, const entity_t *ignore); struct { size_t sectors = 0, tiles = 0; |