summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-11-07 12:06:19 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-11-07 12:06:19 +0100
commit7471347839f30a85e985891b945a721967fcfb86 (patch)
tree762a37e4792672b0af7a0878b41b828508c91e2a /src/common.hpp
parentf951af3cfdef3d23fd5875078a29c15ebf9120e9 (diff)
Avoid walking into walls.
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 10fafcf..a301881 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -113,7 +113,7 @@ namespace world {
std::list<entity_t*> get_entities(rectf_t rect, cflags_t cflags);
std::list<entity_t*> get_render_entities(rectf_t rect);
- bool test_rect(rectf_t rect, cflags_t cflags);
+ bool test_rect(const cmodel_t *cmodel, const entity_t *ignore);
void debug_point(sf::Vector2f point);
};