mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 18:56:38 +00:00 
			
		
		
		
	Remove an unused field
This commit is contained in:
		
							parent
							
								
									e4341525c8
								
							
						
					
					
						commit
						c57001e3bd
					
				
					 2 changed files with 1 additions and 4 deletions
				
			
		|  | @ -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…
	
		Reference in a new issue