From ea0a959c2405511255080cae9f9558f2711a887f Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 11 Mar 2015 11:15:28 -0400 Subject: Fixed bug where one could fall through the floor after changing maps --- src/components.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components.h') diff --git a/src/components.h b/src/components.h index 985025c..2585d73 100644 --- a/src/components.h +++ b/src/components.h @@ -83,7 +83,7 @@ class MapCollisionComponent : public Component { }; void addCollision(int axis, int lower, int upper, Direction dir, int type); - void processCollision(Game& game, Entity& collider, Collision collision, Direction dir); + bool processCollision(Game& game, Entity& collider, Collision collision, Direction dir); std::list left_collisions; std::list right_collisions; -- cgit 1.4.1