From 03c07d3bd58ded12cbcf7fd1eb8e9f5921f27e29 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 10 Mar 2017 20:34:31 +0100 Subject: [PATCH] Remove old code --- apps/openmw/mwworld/scene.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/apps/openmw/mwworld/scene.cpp b/apps/openmw/mwworld/scene.cpp index 437753f95..01c323136 100644 --- a/apps/openmw/mwworld/scene.cpp +++ b/apps/openmw/mwworld/scene.cpp @@ -343,7 +343,6 @@ namespace MWWorld int newX, newY; MWBase::Environment::get().getWorld()->positionToIndex(pos.x(), pos.y(), newX, newY); changeCellGrid(newX, newY); - //mRendering.updateTerrain(); } } @@ -352,8 +351,6 @@ namespace MWWorld Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen(); Loading::ScopedLoad load(loadingListener); - //mRendering.enableTerrain(true); - std::string loadingExteriorText = "#{sLoadingMessage3}"; loadingListener->setLabel(loadingExteriorText); @@ -522,8 +519,6 @@ namespace MWWorld loadingListener->setLabel(loadingInteriorText); Loading::ScopedLoad load(loadingListener); - //mRendering.enableTerrain(false); - if(!loadcell) { MWBase::World *world = MWBase::Environment::get().getWorld(); @@ -584,8 +579,6 @@ namespace MWWorld CellStore* current = MWBase::Environment::get().getWorld()->getExterior(x, y); changePlayerCell(current, position, adjustPlayerPos); - - //mRendering.updateTerrain(); } CellStore* Scene::getCurrentCell ()