Stack rocks without shanking.
authorwolfgangb <wolfgangb@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 24 Aug 2009 19:38:40 +0000 (19:38 +0000)
committerwolfgangb <wolfgangb@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 24 Aug 2009 19:38:40 +0000 (19:38 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5907 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/sector.cpp

index 0e5b7bd..2aa60ab 100644 (file)
@@ -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();
     }
   }