Skip to content

Commit

Permalink
reversi bugfix by adipose
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12549 b35dd754-fafc-0310-a699-88a17e54d16e
  • Loading branch information
wolfposd authored and wolf.posdorfer committed Jun 29, 2011
1 parent d9fc9e7 commit 589494f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ else if (board[i] == player) {
if (position < 47 && position%8 > 1) {
edge = false;
for (int i=position+7; !edge; i+=7) {
if (i < 8 || i%8==7) edge = true;
if (i > 55 || i%8==0) edge = true;
if (board[i] == BLANK) {
break;
}
Expand Down

0 comments on commit 589494f

Please sign in to comment.