Change assets directory
This commit is contained in:
parent
ef90d94569
commit
dbd2b2e472
|
@ -51,8 +51,8 @@ int main(int argc, char* args[]) {
|
||||||
/* Init of the game */
|
/* Init of the game */
|
||||||
|
|
||||||
// Get image file names and their count
|
// Get image file names and their count
|
||||||
char ** imageNames = listFiles("assets2/");
|
char ** imageNames = listFiles("assets/");
|
||||||
int nfiles = countFiles("assets2/");
|
int nfiles = countFiles("assets/");
|
||||||
|
|
||||||
// Allocate space for the images
|
// Allocate space for the images
|
||||||
SDL_Texture **thumbs = (SDL_Texture **) malloc(sizeof(SDL_Texture *) * nfiles);
|
SDL_Texture **thumbs = (SDL_Texture **) malloc(sizeof(SDL_Texture *) * nfiles);
|
||||||
|
|
Loading…
Reference in New Issue