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:
4
mini.cpp
4
mini.cpp
@@ -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) {
|
||||
if (map_surface==NULL) return;
|
||||
uint8_t celw = map_surface->w;// >> 3;
|
||||
uint8_t celh = map_surface->h;// >> 3;
|
||||
int celw = map_surface->w;// >> 3;
|
||||
int celh = map_surface->h;// >> 3;
|
||||
int celx = 0;
|
||||
int cely = 0;
|
||||
//if (celw <= 0 || celh <= 0 || celw >= TILES_WIDTH || celh >= TILES_HEIGHT) return;
|
||||
|
||||
Reference in New Issue
Block a user