summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r--src/jrummikub/control/TurnControl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jrummikub/control/TurnControl.java b/src/jrummikub/control/TurnControl.java
index 3213fd6..f39ec39 100644
--- a/src/jrummikub/control/TurnControl.java
+++ b/src/jrummikub/control/TurnControl.java
@@ -153,7 +153,8 @@ public class TurnControl {
}
pickUpSelectedStones();
- table.drop(new StoneSet(selectedStones), position);
+ table.drop(new StoneSet(selectedStones), new Position(position.getX()
+ - selectedStones.size() * 0.5f, position.getY() - 0.5f));
selectedStones.clear();
view.getTablePanel().setStoneSets(table);