Mercurial > mm7
diff UI/UIHouses.cpp @ 1638:ccde94f02b75
class IndoorCamera split into BLVRenderParams and ODMRenderParams
author | Nomad |
---|---|
date | Tue, 17 Sep 2013 15:40:09 +0200 |
parents | ee4a65ac9d21 |
children | b60ddd777d50 |
line wrap: on
line diff
--- a/UI/UIHouses.cpp Tue Sep 17 14:10:41 2013 +0200 +++ b/UI/UIHouses.cpp Tue Sep 17 15:40:09 2013 +0200 @@ -15,12 +15,12 @@ #include "..\GUIFont.h" #include "..\Overlays.h" #include "..\Outdoor.h" +#include "..\Outdoor_stuff.h" #include "..\AudioPlayer.h" #include "..\VideoPlayer.h" #include "..\Monsters.h" #include "..\Viewport.h" #include "..\Keyboard.h" -#include "..\IndoorCamera.h" #include "..\MapInfo.h" #include "..\Log.h" #include "..\Game.h" @@ -2069,7 +2069,11 @@ } else { - pIndoorCamera->sRotationY = 0; + if (uCurrentlyLoadedLevelType == LEVEL_Outdoor) + pODMRenderParams->rotation_y = 0; + else if (uCurrentlyLoadedLevelType == LEVEL_Indoor) + pBLVRenderParams->sPartyRotY = 0; + pParty->uFlags |= 2u; pParty->vPosition.x = pTravel->arrival_x; pParty->vPosition.y = pTravel->arrival_y;