fix: remove useless condition
This commit is contained in:
		
							
								
								
									
										2
									
								
								game.🗿
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								game.🗿
									
									
									
									
									
								
							@ -99,7 +99,7 @@ draw_map(map, cursor_x, cursor_y)
 | 
				
			|||||||
		{
 | 
							{
 | 
				
			||||||
			if (y == 3)
 | 
								if (y == 3)
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
			draw_case(x * CASE_SIZE + (x != 0) * (x), y * CASE_SIZE + (y != 0) * (y), [map + x * 3 + y], cursor_x == x & cursor_y == y);
 | 
								draw_case(x * CASE_SIZE + x, y * CASE_SIZE + y, [map + x * 3 + y], cursor_x == x & cursor_y == y);
 | 
				
			||||||
			y++;
 | 
								y++;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		x++;
 | 
							x++;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user