mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-08 17:53:00 +00:00
reg3:: support for >= 32 move directions
This commit is contained in:
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user