diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-19 19:24:22 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-19 19:24:22 +0100 |
commit | c135f85fcdc1eeedd04e0c9e9f626b907500f20a (patch) | |
tree | 942ed9fe531361c001da958860ce9d156a0a6876 /main.c | |
parent | 5126638d46398579c26d3c7bd908fe17b8508b13 (diff) |
stabilized levels
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ int main( int argc, char* args[] ) { SDL_SetRenderDrawColor(rend, 255*sw, 255*(1-sw), 0, 255); SDL_RenderFillRect(rend, &hprect); - SDL_SetTextureColorMod(txsmall, 0, 100, 0); + SDL_SetTextureColorMod(txsmall, sw*100, 100*(1-sw), 0); char shp[32]; sprintf(shp, "%.0f", ar->us[i].hp); float php[2] = { (int)x-posx, (int)y-posy+ts-5 }; render_text_small(rend, shp, php, txsmall); |