fix: remove useless condition

This commit is contained in:
starnakin 2023-06-20 21:47:05 +02:00
parent 78987c9012
commit efc950e1ae

View File

@ -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++;