Stack rocks without shanking.
authorWolfgang Becker <uafr@gmx.de>
Mon, 24 Aug 2009 19:38:40 +0000 (19:38 +0000)
committerWolfgang Becker <uafr@gmx.de>
Mon, 24 Aug 2009 19:38:40 +0000 (19:38 +0000)
SVN-Revision: 5907

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();
     }
   }