Mercurial > mm7
diff mm7_3.cpp @ 2022:03d9336e862f
SOUND_WalkingOnTo3DModel
author | Ritor1 |
---|---|
date | Wed, 13 Nov 2013 17:41:12 +0600 |
parents | 30c2b575d25c |
children | beb97b20c3ed |
line wrap: on
line diff
--- a/mm7_3.cpp Mon Nov 11 23:57:02 2013 +0600 +++ b/mm7_3.cpp Wed Nov 13 17:41:12 2013 +0600 @@ -2933,14 +2933,14 @@ if ( !is_not_on_bmodel && !(BYTE1(pOutdoor->pBModels[pParty->floor_face_pid >> 9].pFaces[(pParty->floor_face_pid >> 3) & 0x3F].uAttributes) & 0x20) ) { - pAudioPlayer->PlaySound(SOUND_64, 804, 1, -1, 0, 0, 0, 0); + pAudioPlayer->PlaySound(SOUND_WalkingOnTo3DModel, 804, 1, -1, 0, 0, 0, 0);//хождение вперёд на 3D Modelи } else { //v63 = WorldPosToGridCellZ(pParty->vPosition.y) - 1; //v64 = WorldPosToGridCellX(pParty->vPosition.x); v87 = pOutdoor->GetSoundIdByPosition(WorldPosToGridCellX(pParty->vPosition.x), WorldPosToGridCellZ(pParty->vPosition.y) - 1, 1); - pAudioPlayer->PlaySound((SoundID)v87, 804, 1, -1, 0, 0, 0, 0); + pAudioPlayer->PlaySound((SoundID)v87, 804, 1, -1, 0, 0, 0, 0);//хождение по земле } } else @@ -2953,10 +2953,10 @@ //v63 = WorldPosToGridCellZ(pParty->vPosition.y) - 1; //v64 = WorldPosToGridCellX(pParty->vPosition.x); v87 = pOutdoor->GetSoundIdByPosition(WorldPosToGridCellX(pParty->vPosition.x), WorldPosToGridCellZ(pParty->vPosition.y) - 1, 0); - pAudioPlayer->PlaySound((SoundID)v87, 804, 1, -1, 0, 0, 0, 0); + pAudioPlayer->PlaySound((SoundID)v87, 804, 1, -1, 0, 0, 0, 0);// при заднем ходе на земле } else - pAudioPlayer->PlaySound(SOUND_103, 804, 1, -1, 0, 0, 0, 0); + pAudioPlayer->PlaySound(SOUND_WalkingBackTo3DModel, 804, 1, -1, 0, 0, 0, 0);// при заднем ходе на 3D Modelи } else {