summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-10 01:39:33 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-10 01:39:33 +0200
commitc9eb1cbdb8f8ffed31ac9752aa130e2bce9fa19f (patch)
tree6190f993ca0ba7f1bf5f498ed594bb9cd3f59f80 /src/jrummikub
parentce982fcdaf1a15981419e7a88802bc225795e6a4 (diff)
downloadJRummikub-c9eb1cbdb8f8ffed31ac9752aa130e2bce9fa19f.tar
JRummikub-c9eb1cbdb8f8ffed31ac9752aa130e2bce9fa19f.zip
Fixed regression in StoneTray tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@207 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub')
-rw-r--r--src/jrummikub/model/StoneTray.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/model/StoneTray.java b/src/jrummikub/model/StoneTray.java
index 3418aec..6b54e3e 100644
--- a/src/jrummikub/model/StoneTray.java
+++ b/src/jrummikub/model/StoneTray.java
@@ -114,7 +114,7 @@ public class StoneTray<E extends Sizeable> implements IStoneTray<E> {
}
objects.remove(currentObject);
- drop(currentObject, newPosition, direction);
+ drop(currentObject, newPosition, newDirection);
}
}