reg3:: support for >= 32 move directions

This commit is contained in:
Zeno Rogue 2022-07-13 20:59:20 +02:00
parent f25379ca7d
commit 48702739fd
1 changed files with 1 additions and 1 deletions

View File

@ -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;