mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 19:56:38 +00:00 
			
		
		
		
	More AutoMove stuff, Sneak bools, cleaning
This commit is contained in:
		
							parent
							
								
									60c9c31c7a
								
							
						
					
					
						commit
						f96f53484c
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		|  | @ -274,12 +274,10 @@ namespace MWInput | |||
|       float speed = 300 * evt.timeSinceLastFrame; | ||||
|       float moveX = 0, moveY = 0, moveZ = 0; | ||||
|       | ||||
| 
 | ||||
|       /*AUTO-MOVE*/ | ||||
|       //TODO: double Check this.
 | ||||
|       //player.executeAutoMove((float)evt.timeSinceLastEvent); 
 | ||||
|       //execute Automove - condition checked in function
 | ||||
|       player.executeAutoMove((float)evt.timeSinceLastEvent);  | ||||
|   | ||||
| 
 | ||||
|       //Poll and execute movement keys - will disable automove if pressed.
 | ||||
|       if(poller.isDown(A_MoveLeft))  | ||||
|       {  | ||||
|         player.setmAutoMove(false); | ||||
|  |  | |||
|  | @ -32,6 +32,8 @@ namespace MWWorld | |||
|         bool mCollisionMode; | ||||
| 
 | ||||
| 	bool mAutoMove; | ||||
| 	bool misSneaking; | ||||
| 	bool misHidden; | ||||
| 
 | ||||
|     public: | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue