diff AudioPlayer.cpp @ 1205:8c02e6f74b29

arrays to std::arrays phase 2 - mm7_data.h converted
author Grumpy7
date Sun, 09 Jun 2013 00:30:48 +0200
parents 0dbf6c4dd029
children 0aeac0b9ca30
line wrap: on
line diff
--- a/AudioPlayer.cpp	Sat Jun 08 21:47:29 2013 +0200
+++ b/AudioPlayer.cpp	Sun Jun 09 00:30:48 2013 +0200
@@ -2413,7 +2413,7 @@
 {
   unsigned int v0; // eax@1
 
-  v0 = pMapStats->GetMapInfo(pCurrentMapName);
+  v0 = pMapStats->GetMapInfo(pCurrentMapName.data());
   if ( v0 )
     pAudioPlayer->PlayMusicTrack((MusicID)pMapStats->pInfos[v0].uRedbookTrackID);
 }
@@ -2447,7 +2447,7 @@
   int v3; // [sp+4h] [bp-4h]@3
 
   v1 = this;
-  v2 = pMapStats->GetMapInfo(pCurrentMapName);
+  v2 = pMapStats->GetMapInfo(pCurrentMapName.data());
   if ( v1->b3DSoundInitialized && v1->bEAXSupported )
   {
     v3 = pMapStats->pInfos[v2].uEAXEnv;
@@ -2482,7 +2482,7 @@
   int v13; // [sp+20h] [bp-4h]@6
 
   v1 = this;
-  v2 = pMapStats->GetMapInfo(pCurrentMapName);
+  v2 = pMapStats->GetMapInfo(pCurrentMapName.data());
   v3 = v1->b3DSoundInitialized == 0;
   v4 = v2;
   v12 = v2;