Explorar el Código

Fehler bei der geschoss intersection prüfung behoben

Kolja Strohm hace 4 años
padre
commit
9f55aa13e8
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      StickmanWorldOnline/Spiel.cpp

+ 2 - 0
StickmanWorldOnline/Spiel.cpp

@@ -344,6 +344,7 @@ void Spiel::tick()
                         removed = 1;
                         g->addSchalter();
                         activateShalter( s->getId() );
+                        break;
                     }
                 }
             }
@@ -442,6 +443,7 @@ void Spiel::tick()
                             shots.remove( i );
                             i--;
                             removed = 1;
+                            break;
                         }
                     }
                 }