mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-04 02:32:51 +00:00
rulegen3:: call correct get_roadsign in move_code
This commit is contained in:
parent
0b24804934
commit
dfce80d152
@ -1320,7 +1320,7 @@ EX int move_code(twalker cs) {
|
|||||||
|
|
||||||
if(WDIM == 3) {
|
if(WDIM == 3) {
|
||||||
if(cs2.at->parent_dir == cs2.spin) return C_PARENT;
|
if(cs2.at->parent_dir == cs2.spin) return C_PARENT;
|
||||||
else return get_roadsign(cs);
|
else return get_roadsign(cs+wstep);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!(flags & w_no_relative_distance)) x = C_EQUAL;
|
if(!(flags & w_no_relative_distance)) x = C_EQUAL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user