graphics.blit(background, 0, 0, panel, false);
- int color = graphics.black;
-
for (int y = 0 ; y < 48 ; y++)
{
for (int x = 0 ; x < 64 ; x++)
{
for (int x = 0 ; x < 64 ; x++)
{
- color = graphics.black;
+ int color = graphics.black;
if (map.data[x1 + x][y1 + y] == MAP_AIR)
{
if ((config.isControl(CONTROL::MAP)) || (config.isControl(CONTROL::PAUSE)) || (engine.keyState[SDL_SCANCODE_ESCAPE]))
{
+ engine.keyState[SDL_SCANCODE_ESCAPE] = 0;
+ config.resetControl(CONTROL::MAP);
+ config.resetControl(CONTROL::PAUSE);
break;
}