[Change] Best not render the names when we are zoomed out, as they overlap each other etc.
This commit is contained in:
		
							parent
							
								
									5221a51241
								
							
						
					
					
						commit
						a3f5e18306
					
				| @ -160,10 +160,11 @@ static void map_render(double bx, double by, double w, double h) { | |||||||
| 					r, bx, by, w, h); | 					r, bx, by, w, h); | ||||||
| 
 | 
 | ||||||
| 		// Draw the system name.
 | 		// Draw the system name.
 | ||||||
| 		gl_printMax(&gl_smallFont, (bx+w)-(x+7. + sys->pos.x * map_zoom), | 		if(map_zoom >= 1.) // Can't be tiny.
 | ||||||
| 					x + 7. + sys->pos.x * map_zoom + gl_screen.w/2., | 			gl_printMax(&gl_smallFont, (bx+w)-(x+7. + sys->pos.x * map_zoom), | ||||||
| 					y - 5. + sys->pos.y * map_zoom + gl_screen.h/2., | 						x + 7. + sys->pos.x * map_zoom + gl_screen.w/2., | ||||||
| 					&cWhite, sys->name); | 						y - 5. + sys->pos.y * map_zoom + gl_screen.h/2., | ||||||
|  | 						&cWhite, sys->name); | ||||||
| 
 | 
 | ||||||
| 		// Draw the hyperspace paths.
 | 		// Draw the hyperspace paths.
 | ||||||
| 		glShadeModel(GL_SMOOTH); | 		glShadeModel(GL_SMOOTH); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Allanis
						Allanis