(draw.c)(minor) Replaced a level width instance by the corresponding macro

master
KikooDX 3 years ago
parent 5bab9f4e61
commit 9a29fb2ea2
  1. 2
      src/draw.c

@ -125,7 +125,7 @@ void erase_tile(int x, int y, char level[])
{
x = (int)(x/16);
y = (int)(y/16);
level[x + y * 28] = '.';
level[x + y * LEVEL_WIDTH] = '.';
x *= 16;
y *= 16;
drect(x + DRAW_OFFSET_X, y + DRAW_OFFSET_Y,

Loading…
Cancel
Save