From 6d84e530b15b1f609580654ea5a2cad7152d2b52 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 28 Apr 2026 01:06:10 -0700
Subject: [PATCH] Added enemy shot sound
---
game/shenobi.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/game/shenobi.h b/game/shenobi.h
index e6acae50..754f5e45 100644
--- a/game/shenobi.h
+++ b/game/shenobi.h
@@ -187,7 +187,8 @@ class Shenobi : public Object {
if ( (FastRandom(shotodds) == 0) &&
(nextshot >= ENEMY_SHOT_DELAY) ) {
/* -- If we are within range and facing the ship, FIRE! */
- (void) MakeShot(0);
+ MakeShot(0);
+ sound->PlaySound(gEnemyFire, 2);
}
}