From 7471347839f30a85e985891b945a721967fcfb86 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 7 Nov 2017 12:06:19 +0100 Subject: Avoid walking into walls. --- src/common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.hpp') 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 get_entities(rectf_t rect, cflags_t cflags); std::list 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); }; -- cgit