mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-22 11:27:03 +00:00
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 {
|
||||
heptagon *at = parent;
|
||||
while(other[pos] != ',') {
|
||||
int dir = (other[pos++] & 31) - 1;
|
||||
int dir = other[pos++] - 'a';
|
||||
at = at->cmove(dir);
|
||||
}
|
||||
res = at;
|
||||
|
Loading…
x
Reference in New Issue
Block a user