comparison Outdoor.cpp @ 2199:3445abad44c5

RasterLine2D()
author Ritor1
date Sun, 02 Feb 2014 21:53:29 +0600
parents f0b5ca2dfb73
children ff8920a40c21
comparison
equal deleted inserted replaced
2198:d9caf2b3d8d5 2199:3445abad44c5
4167 if ( !is_not_on_bmodel && pOutdoor->pBModels[pParty->floor_face_pid >> 9].pFaces[(pParty->floor_face_pid >> 3) & 0x3F].Visible() ) 4167 if ( !is_not_on_bmodel && pOutdoor->pBModels[pParty->floor_face_pid >> 9].pFaces[(pParty->floor_face_pid >> 3) & 0x3F].Visible() )
4168 pAudioPlayer->PlaySound(SOUND_RunAlong3DModel, 804, 1, -1, 0, 0, 0, 0);//бег на 3D Modelи 4168 pAudioPlayer->PlaySound(SOUND_RunAlong3DModel, 804, 1, -1, 0, 0, 0, 0);//бег на 3D Modelи
4169 else 4169 else
4170 { 4170 {
4171 v87 = pOutdoor->GetSoundIdByPosition(WorldPosToGridCellX(pParty->vPosition.x), WorldPosToGridCellZ(pParty->vPosition.y) - 1, 1); 4171 v87 = pOutdoor->GetSoundIdByPosition(WorldPosToGridCellX(pParty->vPosition.x), WorldPosToGridCellZ(pParty->vPosition.y) - 1, 1);
4172 pAudioPlayer->PlaySound((SoundID)v87, 804, 1, -1, 0, 0, 0, 0);//бег по земле 4172 pAudioPlayer->PlaySound((SoundID)v87, 804, 1, -1, 0, 0, 0, 0);//бег по земле 56
4173 } 4173 }
4174 pParty->walk_sound_timer = 96;//таймер для бега 4174 pParty->walk_sound_timer = 96;//таймер для бега
4175 } 4175 }
4176 } 4176 }
4177 else if( party_walking_flag && (!hovering || high_fall_flag) ) 4177 else if( party_walking_flag && (!hovering || high_fall_flag) )