mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-02 20:10:32 +00:00
fix footsteps, "rotation" and "enabled" upper cases
This commit is contained in:
commit
b16f99d51c
3 changed files with 9 additions and 9 deletions
|
|
@ -6884,7 +6884,7 @@ void Player::playFootstepSound( bool triggeredLeft, Material* contactMaterial, S
|
|||
// Play default sound.
|
||||
|
||||
S32 sound = -1;
|
||||
if (contactMaterial && (contactMaterial->mImpactSoundId>-1 && contactMaterial->mImpactSoundId<PlayerData::MaxSoundOffsets))
|
||||
if (contactMaterial && (contactMaterial->mFootstepSoundId>-1 && contactMaterial->mFootstepSoundId<PlayerData::MaxSoundOffsets))
|
||||
sound = contactMaterial->mFootstepSoundId;
|
||||
else if( contactObject && contactObject->getTypeMask() & VehicleObjectType )
|
||||
sound = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue