mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
PARANOIA: snacpending negative error plays sfx_monch
This commit is contained in:
parent
216e4064dc
commit
6d530ec810
3 changed files with 8 additions and 0 deletions
|
|
@ -1628,7 +1628,11 @@ static void Got_NameAndColor(UINT8 **cp, INT32 playernum)
|
||||||
|
|
||||||
#ifdef PARANOIA
|
#ifdef PARANOIA
|
||||||
if (snacpending[i] < 0)
|
if (snacpending[i] < 0)
|
||||||
|
{
|
||||||
|
S_StartSound(NULL, sfx_monch);
|
||||||
|
I_Sleep(1000); // let the monch play out for 1 second
|
||||||
I_Error("snacpending[%d] negative!", i);
|
I_Error("snacpending[%d] negative!", i);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
localplayer = i;
|
localplayer = i;
|
||||||
|
|
|
||||||
|
|
@ -1180,6 +1180,8 @@ sfxinfo_t S_sfx[NUMSFX] =
|
||||||
{"clawk1", false, 64, 16, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // SF_X8AWAYSOUND
|
{"clawk1", false, 64, 16, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // SF_X8AWAYSOUND
|
||||||
{"clawk2", false, 64, 16, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // SF_X8AWAYSOUND
|
{"clawk2", false, 64, 16, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // SF_X8AWAYSOUND
|
||||||
|
|
||||||
|
{"monch", false, 255, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||||
|
|
||||||
// SRB2Kart - Engine sounds
|
// SRB2Kart - Engine sounds
|
||||||
// Engine class A
|
// Engine class A
|
||||||
{"krta00", false, 48, 65, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
{"krta00", false, 48, 65, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||||
|
|
|
||||||
|
|
@ -1249,6 +1249,8 @@ typedef enum
|
||||||
sfx_clawk1,
|
sfx_clawk1,
|
||||||
sfx_clawk2,
|
sfx_clawk2,
|
||||||
|
|
||||||
|
sfx_monch,
|
||||||
|
|
||||||
// Next up: UNIQUE ENGINE SOUNDS! Hoooooo boy...
|
// Next up: UNIQUE ENGINE SOUNDS! Hoooooo boy...
|
||||||
// Engine class A - Low Speed, Low Weight
|
// Engine class A - Low Speed, Low Weight
|
||||||
sfx_krta00,
|
sfx_krta00,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue