fixed waterAdded

actorid
scrawl 13 years ago
parent b3a186e729
commit 052cc47ee9

@ -128,6 +128,7 @@ void RenderingManager::cellAdded (MWWorld::Ptr::CellStore *store)
mDebugging->cellAdded(store); mDebugging->cellAdded(store);
if (store->cell->isExterior()) if (store->cell->isExterior())
mTerrainManager->cellAdded(store); mTerrainManager->cellAdded(store);
waterAdded(store);
} }
void RenderingManager::addObject (const MWWorld::Ptr& ptr){ void RenderingManager::addObject (const MWWorld::Ptr& ptr){

@ -204,7 +204,6 @@ namespace MWWorld
mWorld->adjustSky(); mWorld->adjustSky();
mCellChanged = true; mCellChanged = true;
mRendering.waterAdded(mCurrentCell);
} }
//We need the ogre renderer and a scene node. //We need the ogre renderer and a scene node.
@ -257,8 +256,6 @@ namespace MWWorld
mWorld->adjustSky(); mWorld->adjustSky();
mCellChanged = true; mCellChanged = true;
mRendering.waterAdded(cell);
} }
void Scene::changeToExteriorCell (const ESM::Position& position) void Scene::changeToExteriorCell (const ESM::Position& position)

Loading…
Cancel
Save