Skip to content

Commit

Permalink
disable CJ footstep sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
headshot2017 committed Feb 2, 2024
1 parent 81a05b0 commit 57e16db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@ void marioSpawn()
ped->m_nAllowedAttackMoves = 0;
}

ped->m_pedAudio.field_7C = 0; // disable footstep sounds

#ifdef PRE_RELEASE_BUILD
static bool firstInit = false;
if (!firstInit)
Expand Down Expand Up @@ -686,6 +688,8 @@ void marioDestroy()
ped->m_pWeaponObject = weaponObj;
weaponObj = nullptr;
}

ped->m_pedAudio.field_7C = 1; // enable footstep sounds
}
}

Expand Down

0 comments on commit 57e16db

Please sign in to comment.