From: wolfgangb Date: Mon, 24 Aug 2009 19:38:40 +0000 (+0000) Subject: Stack rocks without shanking. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c2362dab99cee5d75b5c9a38f41b6826e23863ca;p=supertux.git Stack rocks without shanking. git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5907 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- 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(); } }