mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-29 03:26:38 +00:00 
			
		
		
		
	Camera zoom fix
This commit is contained in:
		
							parent
							
								
									8b3054aa8b
								
							
						
					
					
						commit
						5628a2b823
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -319,9 +319,9 @@ namespace MWRender | ||||||
|         if (dist >= mFurthest) { |         if (dist >= mFurthest) { | ||||||
|             dist = mFurthest; |             dist = mFurthest; | ||||||
|         } else if (!override && dist < 10.f) { |         } else if (!override && dist < 10.f) { | ||||||
|             dist = -10.f; |             dist = 10.f; | ||||||
|         } else if (override && dist <= mNearest) { |         } else if (override && dist <= mNearest) { | ||||||
|             dist = -mNearest; |             dist = mNearest; | ||||||
|             mIsNearest = true; |             mIsNearest = true; | ||||||
|         } |         } | ||||||
|         mCameraDistance = dist; |         mCameraDistance = dist; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue