fix stone movement

This commit is contained in:
Stefan Bühler 2012-07-15 08:40:52 +02:00
parent 669d0b1a3b
commit 1d44821af8
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ var Mine = function() {
newMap[y-1][x+1] = '*';
newMap[y][x] = ' ';
if ('R' == map[y-2][x+1]) this._crushed();
} else if ((below == '*') && ' ' == map[y-1][x-y] && ' ' == map[y][x-1]) {
} else if ((below == '*') && ' ' == map[y-1][x-1] && ' ' == map[y][x-1]) {
// fall left
newMap[y-1][x-1] = '*';
newMap[y][x] = ' ';