From: Wolfgang Becker Date: Mon, 24 Aug 2009 19:38:40 +0000 (+0000) Subject: Stack rocks without shanking. X-Git-Url: https://git.octo.it/?p=supertux.git;a=commitdiff_plain;h=dd71f2011901da40efa6bd4519c215253283acbd Stack rocks without shanking. SVN-Revision: 5907 --- 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(); } }