forked from mirror/openmw-tes3mp
Remove an unused method
This commit is contained in:
parent
3bf3bd4b8c
commit
a546ace94d
3 changed files with 0 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue