fix snoring sfx not stopping on wake up
also stops the snoring sound when mario is deleted
This commit is contained in:
@@ -265,6 +265,8 @@ SM64_LIB_FN void sm64_mario_delete( int32_t marioId )
|
||||
struct GlobalState *globalState = ((struct MarioInstance *)s_mario_instance_pool.objects[ marioId ])->globalState;
|
||||
global_state_bind( globalState );
|
||||
|
||||
stop_sound(SOUND_MARIO_SNORING3, gMarioState->marioObj->header.gfx.cameraToObject);
|
||||
|
||||
free( gMarioObject );
|
||||
free_area( gCurrentArea );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user