reg3:: support for >= 32 move directions
This commit is contained in:
parent
f25379ca7d
commit
48702739fd
2
reg3.cpp
2
reg3.cpp
|
@ -2284,7 +2284,7 @@ EX namespace reg3 {
|
||||||
else {
|
else {
|
||||||
heptagon *at = parent;
|
heptagon *at = parent;
|
||||||
while(other[pos] != ',') {
|
while(other[pos] != ',') {
|
||||||
int dir = (other[pos++] & 31) - 1;
|
int dir = other[pos++] - 'a';
|
||||||
at = at->cmove(dir);
|
at = at->cmove(dir);
|
||||||
}
|
}
|
||||||
res = at;
|
res = at;
|
||||||
|
|
Loading…
Reference in New Issue