shithub: cstory

Download patch

ref: 6a1d49d6b17175dd09699f03e9a61086f6dcb028
parent: ea9952c2d0ca432566410d8bd806b906e02f1e93
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Jul 8 17:46:30 EDT 2020

Fix sound enum typo

--- a/src/BossFrog.cpp
+++ b/src/BossFrog.cpp
@@ -385,7 +385,7 @@
 				else
 					SetNpChar(NPC_PROJECTILE_BALFROG_SPITBALL, boss->x + 2 * (0x200 * 0x10), boss->y - 8 * 0x200, xm, ym, DIR_LEFT, NULL, 0x100);
 
-				PlaySoundObject(SND_ENEMY_SHOOT_PROJETILE, SOUND_MODE_PLAY);
+				PlaySoundObject(SND_ENEMY_SHOOT_PROJECTILE, SOUND_MODE_PLAY);
 
 				if (boss->count1 == 0 || boss->life < boss->tgt_x - 90)
 				{
--- a/src/Sound.h
+++ b/src/Sound.h
@@ -22,7 +22,7 @@
 	SND_SILLY_EXPLOSION = 25,
 	SND_LARGE_OBJECT_HIT_GROUND = 26,
 	// To be continued
-	SND_ENEMY_SHOOT_PROJETILE = 39,
+	SND_ENEMY_SHOOT_PROJECTILE = 39,
 	// To be continued
 	SND_BEHEMOTH_LARGE_HURT = 52,
 	// To be continued