From 3007af44eaf40e48af7e0397dc56725ab370e856 Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 8 Sep 2014 20:52:15 +0200 Subject: [PATCH] Revert "Don't trigger CellChanged events when crossing exterior cell borders (Fixes #1874)" This reverts commit 0c67ff9ed0c2c20bd43195fe3d17f1ef07de5719. --- apps/openmw/mwworld/scene.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/openmw/mwworld/scene.cpp b/apps/openmw/mwworld/scene.cpp index f01018ed0f..80ad66743f 100644 --- a/apps/openmw/mwworld/scene.cpp +++ b/apps/openmw/mwworld/scene.cpp @@ -259,10 +259,6 @@ namespace MWWorld void Scene::changeCell (int X, int Y, const ESM::Position& position, bool adjustPlayerPos) { - // CellChanged events should not trigger when crossing exterior cell borders - // TODO: check worldspace - bool cellChanged = !mCurrentCell || !mCurrentCell->isExterior(); - Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen(); Loading::ScopedLoad load(loadingListener); @@ -362,7 +358,7 @@ namespace MWWorld // Sky system MWBase::Environment::get().getWorld()->adjustSky(); - mCellChanged = cellChanged; + mCellChanged = true; } //We need the ogre renderer and a scene node.