we need a break here not a return, so not everything stops
authorMatthias Braun <matze@braunis.de>
Sat, 26 May 2007 15:54:58 +0000 (15:54 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 26 May 2007 15:54:58 +0000 (15:54 +0000)
SVN-Revision: 5026

src/sector.cpp

index 88b40cd..aa95d7c 100644 (file)
@@ -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);