aboutsummaryrefslogtreecommitdiff
path: root/flip.c
diff options
context:
space:
mode:
Diffstat (limited to 'flip.c')
-rw-r--r--flip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flip.c b/flip.c
index cc80b09..466a3af 100644
--- a/flip.c
+++ b/flip.c
@@ -1160,7 +1160,7 @@ static void draw_tile(drawing *dr, game_drawstate *ds, const game_state *state,
coords[7] = by + TILE_SIZE - (int)((float)TILE_SIZE * animtime);
colour = (tile & 1 ? COL_WRONG : COL_RIGHT);
- if (animtime < 0.5)
+ if (animtime < 0.5F)
colour = COL_WRONG + COL_RIGHT - colour;
draw_polygon(dr, coords, 4, colour, COL_GRID);