Mercurial > mm7
comparison Player.cpp @ 328:8e23edf57e27
little fix
author | Ritor1 |
---|---|
date | Wed, 20 Feb 2013 17:37:33 +0600 |
parents | 875ba5966ceb |
children | 405d0c4dd1b3 ea55d6414029 |
comparison
equal
deleted
inserted
replaced
327:a7f15da53e82 | 328:8e23edf57e27 |
---|---|
618 | 618 |
619 if (int _v1 = byte_4ECF08[v11 - 1][uVoiceID]) | 619 if (int _v1 = byte_4ECF08[v11 - 1][uVoiceID]) |
620 { | 620 { |
621 pSoundId = rand() % _v1 + 2 * (v11 + 50 * uVoiceID) + 4998; | 621 pSoundId = rand() % _v1 + 2 * (v11 + 50 * uVoiceID) + 4998; |
622 v12 = (8 * pPlayerNum + 312) | OBJECT_Player; | 622 v12 = (8 * pPlayerNum + 312) | OBJECT_Player; |
623 pAudioPlayer->PlaySound((SoundID)pSoundId, v12, 0, -1, 0, 0, (pSoundVolumeLevels[uVoicesVolumeMultiplier] * 128.0), 0); | 623 pAudioPlayer->PlaySound((SoundID)pSoundId, v12, 0, -1, 0, 0, pSoundVolumeLevels[uVoicesVolumeMultiplier] * 128.0f, 0); |
624 } | 624 } |
625 } | 625 } |
626 } | 626 } |
627 | 627 |
628 v13 = 0; | 628 v13 = 0; |