aboutsummaryrefslogtreecommitdiff
path: root/src/bullets.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/bullets.s')
-rw-r--r--src/bullets.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bullets.s b/src/bullets.s
index 1072a8f..9e40546 100644
--- a/src/bullets.s
+++ b/src/bullets.s
@@ -133,6 +133,9 @@
beq @find_free_bullet_bucket
@initialize_bucket:
+ ;; Play the bullet sound if appropiate.
+ jsr Sound::play_bullet_maybe
+
;; We found a free bucket. Initialize the first byte to 0 since it has
;; not moved yet. The heading is taken from the player's state.
lda Player::zp_state