Remove an unused field

actorid
Chris Robinson 12 years ago
parent e4341525c8
commit c57001e3bd

@ -196,7 +196,7 @@ namespace MWWorld
PhysicsSystem::PhysicsSystem(OEngine::Render::OgreRenderer &_rend) :
mRender(_rend), mEngine(0), mFreeFly (true)
mRender(_rend), mEngine(0)
{
// Create physics. shapeLoader is deleted by the physic engine
NifBullet::ManualBulletShapeLoader* shapeLoader = new NifBullet::ManualBulletShapeLoader();
@ -460,12 +460,10 @@ namespace MWWorld
if(cmode)
{
act->enableCollisions(false);
mFreeFly = true;
return false;
}
else
{
mFreeFly = false;
act->enableCollisions(true);
return true;
}

@ -85,7 +85,6 @@ namespace MWWorld
OEngine::Render::OgreRenderer &mRender;
OEngine::Physic::PhysicEngine* mEngine;
bool mFreeFly;
std::map<std::string, std::string> handleToMesh;
PhysicsSystem (const PhysicsSystem&);

Loading…
Cancel
Save