diff --git a/apps/openmw/mwworld/physicssystem.cpp b/apps/openmw/mwworld/physicssystem.cpp index c865629ac..826f0ed9a 100644 --- a/apps/openmw/mwworld/physicssystem.cpp +++ b/apps/openmw/mwworld/physicssystem.cpp @@ -318,11 +318,6 @@ namespace MWWorld } - void PhysicsSystem::setCurrentWater(bool hasWater, int waterHeight) - { - // TODO: store and use - } - btVector3 PhysicsSystem::getRayPoint(float extent) { //get a ray pointing to the center of the viewport diff --git a/apps/openmw/mwworld/physicssystem.hpp b/apps/openmw/mwworld/physicssystem.hpp index bbee2d5da..669eb74bd 100644 --- a/apps/openmw/mwworld/physicssystem.hpp +++ b/apps/openmw/mwworld/physicssystem.hpp @@ -78,8 +78,6 @@ namespace MWWorld OEngine::Physic::PhysicEngine* getEngine(); - void setCurrentWater(bool hasWater, int waterHeight); - bool getObjectAABB(const MWWorld::Ptr &ptr, Ogre::Vector3 &min, Ogre::Vector3 &max); /// Queues velocity movement for a Ptr. If a Ptr is already queued, its velocity will diff --git a/apps/openmw/mwworld/scene.cpp b/apps/openmw/mwworld/scene.cpp index 9e96eebf1..ee8973ae5 100644 --- a/apps/openmw/mwworld/scene.cpp +++ b/apps/openmw/mwworld/scene.cpp @@ -162,9 +162,6 @@ namespace MWWorld void Scene::playerCellChange(MWWorld::CellStore *cell, const ESM::Position& pos, bool adjustPlayerPos) { - bool hasWater = cell->mCell->mData.mFlags & ESM::Cell::HasWater; - mPhysics->setCurrentWater(hasWater, cell->mCell->mWater); - MWBase::World *world = MWBase::Environment::get().getWorld(); world->getPlayer().setCell(cell);