mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:00:05 +00:00 
			
		
		
		
	Fix parsing of negative elevations in product description block
This commit is contained in:
		
							parent
							
								
									316da55000
								
							
						
					
					
						commit
						5968fd981c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -726,7 +726,7 @@ units::angle::degrees<double> ProductDescriptionBlock::elevation() const | |||
| 
 | ||||
|    if (p->elevationNumber_ > 0) | ||||
|    { | ||||
|       elevation = p->parameters_[2] * 0.1; | ||||
|       elevation = static_cast<int16_t>(p->parameters_[2]) * 0.1; | ||||
|    } | ||||
| 
 | ||||
|    return units::angle::degrees<double> {elevation}; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak