Mercurial > mm7
diff Engine/Graphics/Indoor.cpp @ 2506:9b96a51011fb
for sound
author | Ritor1 |
---|---|
date | Thu, 25 Sep 2014 10:39:49 +0600 |
parents | a77c34acdbc9 |
children | 491f0babd563 |
line wrap: on
line diff
--- a/Engine/Graphics/Indoor.cpp Fri Sep 19 18:03:18 2014 +0600 +++ b/Engine/Graphics/Indoor.cpp Thu Sep 25 10:39:49 2014 +0600 @@ -5760,7 +5760,7 @@ if ( on_water ) pAudioPlayer->PlaySound(SOUND_RunAlongWater, 804, 1, -1, 0, 0, 0, 0); else if ( pIndoor->pFaces[uFaceID].uAttributes & FACE_INDOOR_CARPET )//по ковру - pAudioPlayer->PlaySound((SoundID)50, 804, 1, -1, 0, 0, 0, 0); + pAudioPlayer->PlaySound(SOUND_50, 804, 1, -1, 0, 0, 0, 0); else pAudioPlayer->PlaySound(SOUND_RunAlong3DModel, 804, 1, -1, 0, 0, 0, 0); pParty->walk_sound_timer = 96;//64 @@ -5773,7 +5773,7 @@ if ( on_water ) pAudioPlayer->PlaySound(SOUND_WalkAlongWater, 804, 1, -1, 0, 0, 0, 0); else if ( pIndoor->pFaces[uFaceID].uAttributes & FACE_INDOOR_CARPET )//по ковру - pAudioPlayer->PlaySound((SoundID)89, 804, 1, -1, 0, 0, 0, 0); + pAudioPlayer->PlaySound(SOUND_89, 804, 1, -1, 0, 0, 0, 0); else pAudioPlayer->PlaySound(SOUND_WalkAlong3DModel, 804, 1, -1, 0, 0, 0, 0); pParty->walk_sound_timer = 144;//64