VERSIÓ 1.3.8

- [FIX] Al pintar el mapa usava uint8_t i per tant els mapes de mes de 255 tiles en alguna dimensió no funcionaven be
This commit is contained in:
2025-11-05 09:55:38 +01:00
parent 62ac5ae92d
commit 327453b02c
2 changed files with 3 additions and 3 deletions

View File

@@ -1114,8 +1114,8 @@ void mset(int celx, int cely, uint8_t snum) {
void map() { //int celx, int cely, int sx, int sy, uint8_t celw, uint8_t celh, uint8_t layer) { void map() { //int celx, int cely, int sx, int sy, uint8_t celw, uint8_t celh, uint8_t layer) {
if (map_surface==NULL) return; if (map_surface==NULL) return;
uint8_t celw = map_surface->w;// >> 3; int celw = map_surface->w;// >> 3;
uint8_t celh = map_surface->h;// >> 3; int celh = map_surface->h;// >> 3;
int celx = 0; int celx = 0;
int cely = 0; int cely = 0;
//if (celw <= 0 || celh <= 0 || celw >= TILES_WIDTH || celh >= TILES_HEIGHT) return; //if (celw <= 0 || celh <= 0 || celw >= TILES_WIDTH || celh >= TILES_HEIGHT) return;

View File

@@ -1,3 +1,3 @@
#pragma once #pragma once
#define MINI_VERSION "1.3.7" #define MINI_VERSION "1.3.8"