Remove an unused method

This commit is contained in:
Chris Robinson 2013-08-21 00:38:39 -07:00
parent 3bf3bd4b8c
commit a546ace94d
3 changed files with 0 additions and 10 deletions

View file

@ -318,11 +318,6 @@ namespace MWWorld
} }
void PhysicsSystem::setCurrentWater(bool hasWater, int waterHeight)
{
// TODO: store and use
}
btVector3 PhysicsSystem::getRayPoint(float extent) btVector3 PhysicsSystem::getRayPoint(float extent)
{ {
//get a ray pointing to the center of the viewport //get a ray pointing to the center of the viewport

View file

@ -78,8 +78,6 @@ namespace MWWorld
OEngine::Physic::PhysicEngine* getEngine(); OEngine::Physic::PhysicEngine* getEngine();
void setCurrentWater(bool hasWater, int waterHeight);
bool getObjectAABB(const MWWorld::Ptr &ptr, Ogre::Vector3 &min, Ogre::Vector3 &max); 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 /// Queues velocity movement for a Ptr. If a Ptr is already queued, its velocity will

View file

@ -162,9 +162,6 @@ namespace MWWorld
void Scene::playerCellChange(MWWorld::CellStore *cell, const ESM::Position& pos, bool adjustPlayerPos) 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(); MWBase::World *world = MWBase::Environment::get().getWorld();
world->getPlayer().setCell(cell); world->getPlayer().setCell(cell);