aboutsummaryrefslogtreecommitdiff
path: root/galaxies.c
diff options
context:
space:
mode:
Diffstat (limited to 'galaxies.c')
-rw-r--r--galaxies.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/galaxies.c b/galaxies.c
index a789349..73356fb 100644
--- a/galaxies.c
+++ b/galaxies.c
@@ -2503,8 +2503,8 @@ static char *interpret_move(const game_state *state, game_ui *ui,
int px, py;
space *sp;
- px = 2*FROMCOORD((float)x) + 0.5;
- py = 2*FROMCOORD((float)y) + 0.5;
+ px = 2*FROMCOORD((float)x) + 0.5F;
+ py = 2*FROMCOORD((float)y) + 0.5F;
if (button == 'C' || button == 'c') return dupstr("C");
@@ -2618,8 +2618,8 @@ static char *interpret_move(const game_state *state, game_ui *ui,
ui->cur_visible = false;
- px = (int)(2*FROMCOORD((float)x) + 0.5);
- py = (int)(2*FROMCOORD((float)y) + 0.5);
+ px = (int)(2*FROMCOORD((float)x) + 0.5F);
+ py = (int)(2*FROMCOORD((float)y) + 0.5F);
dot = NULL;