Skip to content
Snippets Groups Projects
Commit cb6cfa97 authored by maberet's avatar maberet
Browse files

Récupération Main

parent 4e43daa7
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,6 @@ void drawFire(){ ...@@ -153,7 +153,6 @@ void drawFire(){
srcRect.x = srcRect.w * (SDL_GetTicks()/200 % 8); srcRect.x = srcRect.w * (SDL_GetTicks()/200 % 8);
srcRect.y= 0; srcRect.y= 0;
while (cour != NULL){ while (cour != NULL){
printf("%p %d %d\n", (cour->fire), (cour->fire).x, (cour->fire).x);
rect.h = CELLSIZE; rect.h = CELLSIZE;
rect.w = CELLSIZE; rect.w = CELLSIZE;
rect.x = (cour->fire).x * CELLSIZE + (screenDimension.w - (MAPSIZE * CELLSIZE)) / 2; rect.x = (cour->fire).x * CELLSIZE + (screenDimension.w - (MAPSIZE * CELLSIZE)) / 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment