summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-09 04:41:59 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-09 04:41:59 +0200
commit1f05ab93288938375e6a4ea63304eeb05d06aa91 (patch)
tree16640882d210240ba54bfd35fe9f35b8fd65be3e /src/jrummikub/model
parent5397c0c59ee060a9cfb8906250a6537a63ee7262 (diff)
downloadJRummikub-1f05ab93288938375e6a4ea63304eeb05d06aa91.tar
JRummikub-1f05ab93288938375e6a4ea63304eeb05d06aa91.zip
Fixed some positioning issues
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@183 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/Table.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/model/Table.java b/src/jrummikub/model/Table.java
index 58c65a6..4c84193 100644
--- a/src/jrummikub/model/Table.java
+++ b/src/jrummikub/model/Table.java
@@ -84,7 +84,7 @@ public class Table extends StoneTray<StoneSet> implements ITable {
if (set.classify() == StoneSet.Type.RUN) {
Position leftPosition, rightPosition;
leftPosition = setPosition;
- rightPosition = new Position(setPosition.getX() + stonePosition,
+ rightPosition = new Position(setPosition.getX() + stonePosition + 1,
setPosition.getY());
drop(leftSet, leftPosition);