fix: remove useless condition
This commit is contained in:
parent
78987c9012
commit
efc950e1ae
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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user