From c2362dab99cee5d75b5c9a38f41b6826e23863ca Mon Sep 17 00:00:00 2001 From: wolfgangb Date: Mon, 24 Aug 2009 19:38:40 +0000 Subject: [PATCH] Stack rocks without shanking. git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5907 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/sector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sector.cpp b/src/sector.cpp index 0e5b7bd81..2aa60ab17 100644 --- a/src/sector.cpp +++ b/src/sector.cpp @@ -961,7 +961,7 @@ void check_collisions(collision::Constraints* constraints, if(other->get_movement() != Vector(0, 0)) { // TODO what todo when we collide with 2 moving objects?!? - constraints->ground_movement += other->get_movement(); + constraints->ground_movement = other->get_movement(); } } -- 2.11.0