BorderElement = EL_EMPTY;
+ /* the MM game engine does not use a visible border element */
+ if (level.game_engine_type == GAME_ENGINE_TYPE_MM)
+ return;
+
for (y = 0; y < lev_fieldy && BorderElement == EL_EMPTY; y++)
{
for (x = 0; x < lev_fieldx; x++)
BlitBitmap(src_bitmap, drawto, src_x, src_y, tilesize_draw, tilesize_draw,
dst_draw_x, dst_draw_y);
else
- ClearRectangle(drawto, dst_x, dst_y, tilesize_draw, tilesize_draw);
+ ClearRectangle(drawto, dst_draw_x, dst_draw_y,
+ tilesize_draw, tilesize_draw);
}
}