Some more progress
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "../util/util.h"
|
||||
#include "tile.h"
|
||||
#include "../player/player.h"
|
||||
#include "../items/item.h"
|
||||
|
||||
static int scrollFrame = 0;
|
||||
unsigned long beltFrames = 0;
|
||||
@@ -17,7 +18,7 @@ void renderBelt(int x, int y, int w, int h, OrientDirection dir, SDL_Renderer *r
|
||||
int px = x * TILE_SIZE;
|
||||
int py = y * TILE_SIZE;
|
||||
|
||||
uint16_t tileType = tileMap[y][x].type - 1;
|
||||
uint16_t tileType = tileMap[y][x].type;
|
||||
|
||||
SDL_Rect src1, src2, dst1, dst2;
|
||||
|
||||
|
Reference in New Issue
Block a user