mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 13:00:05 +00:00 
			
		
		
		
	Placefile line flags are not always specified
This commit is contained in:
		
							parent
							
								
									9766e02f32
								
							
						
					
					
						commit
						bce274f5ac
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -586,8 +586,12 @@ void Placefile::Impl::ProcessLine(const std::string& line) | ||||||
|          di->endTime_   = endTime_; |          di->endTime_   = endTime_; | ||||||
| 
 | 
 | ||||||
|          di->width_ = std::stoul(tokenList[0]); |          di->width_ = std::stoul(tokenList[0]); | ||||||
|  | 
 | ||||||
|  |          if (!tokenList[1].empty()) | ||||||
|  |          { | ||||||
|             di->flags_ = std::stoul(tokenList[1]); |             di->flags_ = std::stoul(tokenList[1]); | ||||||
|          } |          } | ||||||
|  |       } | ||||||
|       if (tokenList.size() >= 3) |       if (tokenList.size() >= 3) | ||||||
|       { |       { | ||||||
|          ProcessEscapeCharacters(tokenList[2]); |          ProcessEscapeCharacters(tokenList[2]); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat