mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 22:56:44 +00:00 
			
		
		
		
	Allow stepping when not being affected by gravity
This commit is contained in:
		
							parent
							
								
									8255a64bfe
								
							
						
					
					
						commit
						a510adc572
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -156,7 +156,7 @@ namespace MWWorld | |||
|                     //std::cout<<"angle: "<<getSlope(trace.planenormal)<<"\n";
 | ||||
|                     if(getSlope(currentNormal) > sMaxSlope || currentNormal == lastNormal) | ||||
|                     { | ||||
|                         if(!onground || | ||||
|                         if((gravity && !onground) || | ||||
|                            !stepMove(newPosition, velocity, remainingTime, verticalRotation, halfExtents, isInterior, engine)) | ||||
|                         { | ||||
|                             Ogre::Vector3 resultantDirection = currentNormal.crossProduct(up); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue