comment uselocation for ttests and -1 means false
This commit is contained in:
		
							parent
							
								
									3e4287b8d1
								
							
						
					
					
						commit
						fc0c2a0843
					
				| @ -337,6 +337,9 @@ function speed_handler(profile,way,result,data) | |||||||
|     if extra_speeds then |     if extra_speeds then | ||||||
|         if extra_speeds.highway[data.highway] then |         if extra_speeds.highway[data.highway] then | ||||||
|             extraspeed = extra_speeds.highway[data.highway] |             extraspeed = extra_speeds.highway[data.highway] | ||||||
|  |             if extraspeed == -1 then | ||||||
|  |                 extraspeed = false | ||||||
|  |             end | ||||||
|         end |         end | ||||||
|     end |     end | ||||||
|   end |   end | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user