diff UI/UIHouses.cpp @ 1640:afc1c3514dd5

Some common code from ODM and BLV RenderParams moved to IndoorCameraD3D
author Nomad
date Tue, 17 Sep 2013 17:40:59 +0200
parents b60ddd777d50
children dbd6f940f26c 014eb02bd0e6
line wrap: on
line diff
--- a/UI/UIHouses.cpp	Tue Sep 17 15:40:36 2013 +0200
+++ b/UI/UIHouses.cpp	Tue Sep 17 17:40:59 2013 +0200
@@ -2069,10 +2069,7 @@
         }
         else
         {
-          if (uCurrentlyLoadedLevelType == LEVEL_Outdoor)
-            pODMRenderParams->rotation_y = 0;
-          else if (uCurrentlyLoadedLevelType == LEVEL_Indoor)
-            pBLVRenderParams->sPartyRotY = 0;
+          pGame->pIndoorCameraD3D->sRotationY = 0;
 
           pParty->uFlags |= 2u;
           pParty->vPosition.x = pTravel->arrival_x;