diff AudioPlayer.cpp @ 1650:b0a2b8525483

Merge
author Grumpy7
date Wed, 18 Sep 2013 06:32:15 +0200
parents 8971dc85b8fb
children 633f81bb3ae7
line wrap: on
line diff
--- a/AudioPlayer.cpp	Wed Sep 18 06:30:53 2013 +0200
+++ b/AudioPlayer.cpp	Wed Sep 18 06:32:15 2013 +0200
@@ -1494,11 +1494,11 @@
       a1.vWorldPosition.z = v11;
       if ( uCurrentlyLoadedLevelType == LEVEL_Indoor )
       {
-        v16 = pBLVRenderParams->fCosineNegX;
-        v17 = pBLVRenderParams->fSineNegX;
-        v55 = pBLVRenderParams->fCosineY;
-        v56 = pBLVRenderParams->fSineY;
-        if ( pBLVRenderParams->sPartyRotX )
+        v16 = pGame->pIndoorCameraD3D->fRotationXCosine;
+        v17 = pGame->pIndoorCameraD3D->fRotationXSine;
+        v55 = pGame->pIndoorCameraD3D->fRotationYCosine;
+        v56 = pGame->pIndoorCameraD3D->fRotationYSine;
+        if (pGame->pIndoorCameraD3D->sRotationX)
         {
           v58 = a1.vWorldPosition.x - (double)pParty->vPosition.x;
           *(float *)&uNumRepeats = a1.vWorldPosition.y - (double)pParty->vPosition.y;