Browse Source

Fehler behoben

Kolja Strohm 5 years ago
parent
commit
e4c5ba4981
1 changed files with 5 additions and 0 deletions
  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 )
                 {