Explorar o código

Fehler behoben

Kolja Strohm %!s(int64=4) %!d(string=hai) anos
pai
achega
e4c5ba4981
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      StickmanWorldOnline/Spiel.cpp

+ 5 - 0
StickmanWorldOnline/Spiel.cpp

@@ -685,6 +685,11 @@ void Spiel::tick( double zeit )
                             shots.remove( j );
                         }
                     }
+                    if( removed )
+                    {
+                        shots.remove( i );
+                        i--;
+                    }
                 }
                 if( !removed )
                 {