submarines fire torpedos

This commit is contained in:
devZoGok
2024-01-16 20:01:19 +02:00
parent c8b263b84d
commit 827589c823
18 changed files with 5490 additions and 11129 deletions
-3
View File
@@ -79,9 +79,6 @@ namespace battleship{
endGame(false);
}
for(Projectile *proj : projectiles)
proj->update();
for(int i = 0; i < fx.size(); i++){
if(getTime() - fx[i].initTime > fx[i].vfxTime)
removeFx(i, true);