Skip to content
Snippets Groups Projects
Commit b9c685ef authored by belkhiritaha's avatar belkhiritaha
Browse files

update graphique

parent a417da2f
No related branches found
No related tags found
No related merge requests found
......@@ -279,6 +279,12 @@ void drawPlayerHP(){
count--;
SDL_RenderCopy(renderer, heartTexture, &destRect, &rect);
}
else {
SDL_SetTextureColorMod( heartTexture,0,0,0);
SDL_RenderCopy(renderer, heartTexture, &destRect, &rect);
SDL_SetTextureColorMod( heartTexture,255,255,255);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment