From c7559f0d291099e48fd9957e3c98b50661e5daf0 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Wed, 5 Nov 2025 13:08:56 +0100 Subject: [PATCH] =?UTF-8?q?VERSI=C3=93=201.3.9=20-=20[FIX]=20el=20mapa=20s?= =?UTF-8?q?empre=20pintava=20TOTS=20els=20tiles,=20es=20veren=20o=20no.=20?= =?UTF-8?q?Ara=20te=20en=20compte=20el=20oritge=20i=20la=20regi=C3=B3=20de?= =?UTF-8?q?=20clipping.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mini.cpp | 7 ++++++- version.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mini.cpp b/mini.cpp index eaa1153..dfe0a5d 100644 --- a/mini.cpp +++ b/mini.cpp @@ -1136,7 +1136,12 @@ void map() { //int celx, int cely, int sx, int sy, uint8_t celw, uint8_t celh, u sx -= ds::origin[0]; sy -= ds::origin[1]; for (int y=0; yds::clip[2]) || (fy>ds::clip[3]) ) continue; + spr(tile, sx+x*8, sy+y*8); } } } diff --git a/version.h b/version.h index 61b5339..a649917 100644 --- a/version.h +++ b/version.h @@ -1,3 +1,3 @@ #pragma once -#define MINI_VERSION "1.3.8" +#define MINI_VERSION "1.3.9"