From: Matthias Braun Date: Sat, 26 May 2007 15:54:58 +0000 (+0000) Subject: we need a break here not a return, so not everything stops X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cfe03d920e5fc69ba9182738bfbb1804bef1c960;p=supertux.git we need a break here not a return, so not everything stops SVN-Revision: 5026 --- diff --git a/src/sector.cpp b/src/sector.cpp index 88b40cd1b..aa95d7c9f 100644 --- a/src/sector.cpp +++ b/src/sector.cpp @@ -1303,9 +1303,9 @@ Sector::handle_collisions() get_hit_normal(moving_object->dest, moving_object_2->dest, hit, normal); if(!moving_object->collides(*moving_object_2, hit)) - return; + continue; if(!moving_object_2->collides(*moving_object, hit)) - return; + continue; moving_object->collision(*moving_object_2, hit); moving_object_2->collision(*moving_object, hit);