diff Player.cpp @ 328:8e23edf57e27

little fix
author Ritor1
date Wed, 20 Feb 2013 17:37:33 +0600
parents 875ba5966ceb
children 405d0c4dd1b3 ea55d6414029
line wrap: on
line diff
--- a/Player.cpp	Wed Feb 20 11:27:06 2013 +0600
+++ b/Player.cpp	Wed Feb 20 17:37:33 2013 +0600
@@ -620,7 +620,7 @@
       {
         pSoundId = rand() % _v1 + 2 * (v11 + 50 * uVoiceID) + 4998;
         v12 = (8 * pPlayerNum + 312) | OBJECT_Player;
-        pAudioPlayer->PlaySound((SoundID)pSoundId, v12, 0, -1, 0, 0, (pSoundVolumeLevels[uVoicesVolumeMultiplier] * 128.0), 0);
+        pAudioPlayer->PlaySound((SoundID)pSoundId, v12, 0, -1, 0, 0, pSoundVolumeLevels[uVoicesVolumeMultiplier] * 128.0f, 0);
       }
     }
   }