chessbox: fix 'i = i++', based on gnuchess4.0-pl80
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27278 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7b4ecc7d2b
commit
4acfdbc12a
1 changed files with 2 additions and 2 deletions
|
@ -2145,7 +2145,7 @@ short j,j1,j2,piece,i,sq,*PL;
|
|||
while (!(m & 0x88))
|
||||
{
|
||||
u = unmap[m];
|
||||
a[u] = ++a[u] | c;
|
||||
a[u] = (a[u]+1) | c;
|
||||
if (color[u] == neutral) m += d;
|
||||
else break;
|
||||
}
|
||||
|
@ -2155,7 +2155,7 @@ short j,j1,j2,piece,i,sq,*PL;
|
|||
if (!((m = m0+Dir[j]) & 0x88))
|
||||
{
|
||||
u = unmap[m];
|
||||
a[u] = ++a[u] | c;
|
||||
a[u] = (a[u]+1) | c;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue