Fixed the last graphical issue.

This commit is contained in:
mibi88 2023-07-20 11:27:19 +02:00
parent d1e32de9c5
commit 6acb9ab93b

View file

@ -64,7 +64,7 @@ int showtext_opt(Game *game, bopti_image_t *face, char *text,
dsubimage(4*PXSIZE, 2*PXSIZE, face, 0, 0, F_WIDTH, (i-8)*PXSIZE,
DIMAGE_NONE);
dupdate();
blit();
while(game->frame_duration < 20) sleep();
game->frame_duration = 0;