Fix a UI glitch where dragging an existing arrow could change what it
[sgt/puzzles] / galaxies.c
index 9e4f4fd..e10db3a 100644 (file)
@@ -2245,8 +2245,8 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
                      * Found a dot. Begin a drag from it.
                      */
                     dot = &SPACE(state, px1, py1);
-                    ui->srcx = px;
-                    ui->srcy = py;
+                    ui->srcx = px1;
+                    ui->srcy = py1;
                     goto done;         /* multi-level break */
                 }
             }