Browse Source

Fehler bei der geschoss intersection prüfung behoben

Kolja Strohm 4 years ago
parent
commit
a1183511c7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      StickmanWorldOnline/Spiel.cpp

+ 2 - 0
StickmanWorldOnline/Spiel.cpp

@@ -645,6 +645,7 @@ void Spiel::tick( double zeit )
                         removed = 1;
                         g->addSchalter();
                         activateShalter( s->getId() );
+                        break;
                     }
                 }
             }
@@ -738,6 +739,7 @@ void Spiel::tick( double zeit )
                             shots.remove( i );
                             i--;
                             removed = 1;
+                            break;
                         }
                     }
                 }