summary refs log tree commit diff stats
path: root/src/components.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-11 11:15:28 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-11 11:15:28 -0400
commitea0a959c2405511255080cae9f9558f2711a887f (patch)
tree4ca85bad4d709396c5197374c0cf6a33bbff895b /src/components.h
parent0e0389752a0912614737e5c059b5cd4719ef9cf2 (diff)
downloadtherapy-ea0a959c2405511255080cae9f9558f2711a887f.tar.gz
therapy-ea0a959c2405511255080cae9f9558f2711a887f.tar.bz2
therapy-ea0a959c2405511255080cae9f9558f2711a887f.zip
Fixed bug where one could fall through the floor after changing maps
Diffstat (limited to 'src/components.h')
-rw-r--r--src/components.h2
1 files changed, 1 insertions, 1 deletions
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 {
83 }; 83 };
84 84
85 void addCollision(int axis, int lower, int upper, Direction dir, int type); 85 void addCollision(int axis, int lower, int upper, Direction dir, int type);
86 void processCollision(Game& game, Entity& collider, Collision collision, Direction dir); 86 bool processCollision(Game& game, Entity& collider, Collision collision, Direction dir);
87 87
88 std::list<Collision> left_collisions; 88 std::list<Collision> left_collisions;
89 std::list<Collision> right_collisions; 89 std::list<Collision> right_collisions;