Restore old sound effect

This commit is contained in:
Jaime Passos 2019-11-17 21:33:59 -03:00
parent 64939816fb
commit 635e121bfc
4 changed files with 3 additions and 6 deletions

View file

@ -18909,7 +18909,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
S_FIREBALL, // spawnstate
1000, // spawnhealth
S_NULL, // seestate
sfx_fbll, // seesound
sfx_None, // seesound
8, // reactiontime
sfx_None, // attacksound
S_NULL, // painstate
@ -18919,7 +18919,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
S_NULL, // missilestate
S_NULL, // deathstate
S_NULL, // xdeathstate
sfx_fblldi, // deathsound
sfx_None, // deathsound
40*FRACUNIT, // speed
4*FRACUNIT, // radius
8*FRACUNIT, // height

View file

@ -3998,6 +3998,7 @@ static void P_DoFiring(player_t *player, ticcmd_t *cmd)
player->pflags |= PF_ATTACKDOWN;
mo = P_SpawnPlayerMissile(player->mo, MT_FIREBALL, 0);
P_InstaThrust(mo, player->mo->angle, ((mo->info->speed>>FRACBITS)*player->mo->scale) + player->speed);
S_StartSound(player->mo, sfx_mario7);
P_SetWeaponDelay(player, TICRATE); // Short delay between fireballs so you can't spam them everywhere
return;
}

View file

@ -277,8 +277,6 @@ sfxinfo_t S_sfx[NUMSFX] =
{"mario9", true, 120, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Emerging power-up"},
{"marioa", true, 192, 0, -1, NULL, 0, -1, -1, LUMPERROR, "One-up"},
{"thwomp", true, 127, 8, -1, NULL, 0, -1, -1, LUMPERROR, "Thwomp"},
{"fbll", false, 32, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Fireball throw"},
{"fblldi", false, 60, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Fireball hit"},
// Black Eggman
{"bebomb", false, 64, 64, -1, NULL, 0, -1, -1, LUMPERROR, "Big explosion"},

View file

@ -326,8 +326,6 @@ typedef enum
sfx_mario9,
sfx_marioa,
sfx_thwomp,
sfx_fbll,
sfx_fblldi,
// Black Eggman
sfx_bebomb,