diff mm7_6.cpp @ 388:d95a91011d57

AudioPlayer::PlaySound
author Nomad
date Sat, 23 Feb 2013 04:01:09 +0200
parents 243418228760
children 111f25d1cc04
line wrap: on
line diff
--- a/mm7_6.cpp	Fri Feb 22 23:47:26 2013 +0400
+++ b/mm7_6.cpp	Sat Feb 23 04:01:09 2013 +0200
@@ -8785,7 +8785,7 @@
 //----- (0042FBDD) --------------------------------------------------------
 void __cdecl sub_42FBDD()
 {
-  pAudioPlayer->PlaySound((SoundID)75, 0, 0, -1, 0, 0, 0, 0);
+  pAudioPlayer->PlaySound(SOUND_Button2, 0, 0, -1, 0, 0, 0, 0);
   pRenderer->DrawTextureTransparent(pBtn_YES->uX, pBtn_YES->uY, pBtn_YES->pTextures[0]);
   pRenderer->Present();
 }
@@ -8793,7 +8793,7 @@
 //----- (0042FC15) --------------------------------------------------------
 void __cdecl CloseWindowBackground()
 {
-  pAudioPlayer->PlaySound((SoundID)75, -2, 0, -1, 0, 0, 0, 0);
+  pAudioPlayer->PlaySound(SOUND_Button2, -2, 0, -1, 0, 0, 0, 0);
   pRenderer->DrawTextureTransparent(pBtn_ExitCancel->uX, pBtn_ExitCancel->uY, pBtn_ExitCancel->pTextures[0]);
   pRenderer->Present();
 }