projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd50c3
)
we need a break here not a return, so not everything stops
author
Matthias Braun
<matze@braunis.de>
Sat, 26 May 2007 15:54:58 +0000
(15:54 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 26 May 2007 15:54:58 +0000
(15:54 +0000)
SVN-Revision: 5026
src/sector.cpp
patch
|
blob
|
history
diff --git
a/src/sector.cpp
b/src/sector.cpp
index
88b40cd
..
aa95d7c
100644
(file)
--- 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);