aboutsummaryrefslogtreecommitdiff
path: root/samegame.c
diff options
context:
space:
mode:
Diffstat (limited to 'samegame.c')
-rw-r--r--samegame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samegame.c b/samegame.c
index 121ed7d..57ce4b8 100644
--- a/samegame.c
+++ b/samegame.c
@@ -1554,7 +1554,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds,
ds->started = true;
}
- if (flashtime > 0.0) {
+ if (flashtime > 0.0F) {
int frame = (int)(flashtime / FLASH_FRAME);
bgcolour = (frame % 2 ? COL_LOWLIGHT : COL_HIGHLIGHT);
} else