aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-10-02 21:25:50 +1000
committerquou <quou@disroot.org>2024-10-02 21:25:50 +1000
commit16513f894829462fc788d951018a92babe4e9000 (patch)
tree28fe2cc854d7445f8704d76bbd8671d6a12dfe73
parentb645edebd21d2d93256b52ee0cd2063395908a74 (diff)
update the gun special
-rw-r--r--player.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/player.c b/player.c
index 33e6d2c..4a83a91 100644
--- a/player.c
+++ b/player.c
@@ -220,11 +220,12 @@ void update_player_special(Player* p, const App* a, World* w) {
sx = (p->x >> fbits) + 16;
dz.x = sx;
dz.y = (p->y >> fbits);
- inst_deathzone(w, &dz, 0, 0, player_gun_damage, 1, 1);
+ inst_deathzone(w, &dz, 0, 0, player_gun_damage, 10, 1);
activate_laser(&w->laser, dz.x, dz.y);
- w->freeze = 3;
+ w->freeze = 5;
}
p->charge = 0;
+ play_sound(4096);
}
void update_player(