]> git.mcshandy.xyz Git - assteroids/commitdiff
Bomb score threshold to 15
authorAynRandDuran <lpj1496@gmail.com>
Tue, 13 Jul 2021 15:58:28 +0000 (11:58 -0400)
committerAynRandDuran <lpj1496@gmail.com>
Tue, 13 Jul 2021 15:58:28 +0000 (11:58 -0400)
game.cpp

index 4a4583bf383c9be20219f54c79114d629ef00803..b7bf5eb3acfb0365e3794d6a12fc964c3aa32b43 100644 (file)
--- a/game.cpp
+++ b/game.cpp
@@ -117,7 +117,7 @@ void update_bullets(){
                     bullets[i].w = 0;
                     score++;
                     explode_asteroid(&asteroids[a]);
-                    if((score%5 == 0) && score > 0 && bomb_proj.w < 16) {
+                    if((score%15 == 0) && score > 0 && bomb_proj.w < 16) {
                         //Bomb unlocked
                         active_powerups |= BOMB;
                     }