From cfe03d920e5fc69ba9182738bfbb1804bef1c960 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 26 May 2007 15:54:58 +0000 Subject: [PATCH] we need a break here not a return, so not everything stops SVN-Revision: 5026 --- src/sector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.11.0