fix of the fix (thanks to toutouille
This commit is contained in:
parent
f601494508
commit
496b059715
|
@ -138,7 +138,8 @@ void erase_tile(int x, int y, char level[])
|
|||
|
||||
void draw_timer(unsigned int step)
|
||||
{
|
||||
dprint_opt(0, 0, C_WHITE, C_BLACK, DTEXT_LEFT, DTEXT_TOP, "%u.%02u", (step*2)/FPS, (step*2)%FPS);
|
||||
float stepfloat = step;
|
||||
dprint_opt(0, 0, C_WHITE, C_BLACK, DTEXT_LEFT, DTEXT_TOP, "%.2j", (int)(stepfloat*2/FPS*100));
|
||||
}
|
||||
|
||||
void just_breathe(unsigned int step)
|
||||
|
|
Loading…
Reference in New Issue