mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 20:26:48 +00:00 
			
		
		
		
	fixed interior water level
This commit is contained in:
		
							parent
							
								
									e6303fc3f4
								
							
						
					
					
						commit
						42c5d515e6
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -22,8 +22,7 @@ void Cell::load(ESMReader &esm) | |||
|     { | ||||
|         // Interior cells
 | ||||
| 
 | ||||
|         if (esm.isNextSub("INTV") || esm.isNextSub("WHGT")) | ||||
|             esm.getHT(water); | ||||
|         esm.getHNT(water, "WHGT", 4); | ||||
| 
 | ||||
|         // Quasi-exterior cells have a region (which determines the
 | ||||
|         // weather), pure interior cells have ambient lighting
 | ||||
|  |  | |||
|  | @ -114,7 +114,7 @@ struct Cell | |||
|   ESM_Context context; // File position
 | ||||
|   DATAstruct data; | ||||
|   AMBIstruct ambi; | ||||
|   int water; // Water level
 | ||||
|   float water; // Water level
 | ||||
|   int mapColor; | ||||
| 
 | ||||
|   void load(ESMReader &esm); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue