1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:53:51 +00:00

Remove old code

This commit is contained in:
scrawl 2017-03-10 20:34:31 +01:00
parent 86e75f0987
commit 03c07d3bd5

View file

@ -343,7 +343,6 @@ namespace MWWorld
int newX, newY; int newX, newY;
MWBase::Environment::get().getWorld()->positionToIndex(pos.x(), pos.y(), newX, newY); MWBase::Environment::get().getWorld()->positionToIndex(pos.x(), pos.y(), newX, newY);
changeCellGrid(newX, newY); changeCellGrid(newX, newY);
//mRendering.updateTerrain();
} }
} }
@ -352,8 +351,6 @@ namespace MWWorld
Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen(); Loading::Listener* loadingListener = MWBase::Environment::get().getWindowManager()->getLoadingScreen();
Loading::ScopedLoad load(loadingListener); Loading::ScopedLoad load(loadingListener);
//mRendering.enableTerrain(true);
std::string loadingExteriorText = "#{sLoadingMessage3}"; std::string loadingExteriorText = "#{sLoadingMessage3}";
loadingListener->setLabel(loadingExteriorText); loadingListener->setLabel(loadingExteriorText);
@ -522,8 +519,6 @@ namespace MWWorld
loadingListener->setLabel(loadingInteriorText); loadingListener->setLabel(loadingInteriorText);
Loading::ScopedLoad load(loadingListener); Loading::ScopedLoad load(loadingListener);
//mRendering.enableTerrain(false);
if(!loadcell) if(!loadcell)
{ {
MWBase::World *world = MWBase::Environment::get().getWorld(); MWBase::World *world = MWBase::Environment::get().getWorld();
@ -584,8 +579,6 @@ namespace MWWorld
CellStore* current = MWBase::Environment::get().getWorld()->getExterior(x, y); CellStore* current = MWBase::Environment::get().getWorld()->getExterior(x, y);
changePlayerCell(current, position, adjustPlayerPos); changePlayerCell(current, position, adjustPlayerPos);
//mRendering.updateTerrain();
} }
CellStore* Scene::getCurrentCell () CellStore* Scene::getCurrentCell ()