mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 19:45:32 +00:00
Revert "Don't trigger CellChanged events when crossing exterior cell borders (Fixes #1874)"
This reverts commit 0c67ff9ed0
.
This commit is contained in:
parent
6b06ab23aa
commit
3007af44ea
1 changed files with 1 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue