mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-12 19:34:07 +00:00
rulegen:: set C_CHILD for id==0
This commit is contained in:
parent
85acd05ee7
commit
e0db5d8f6a
@ -820,6 +820,7 @@ code_t id_at_spin(twalker cw) {
|
|||||||
if(pid > -1 && (res.second[pid] != C_CHILD)) {
|
if(pid > -1 && (res.second[pid] != C_CHILD)) {
|
||||||
x = C_IGNORE;
|
x = C_IGNORE;
|
||||||
}
|
}
|
||||||
|
else if(id == 0) x = C_CHILD;
|
||||||
else {
|
else {
|
||||||
int p = get_parent_dir(cs.at);
|
int p = get_parent_dir(cs.at);
|
||||||
if(p >= 0 && get_parent_dir(cs.at) == cs.spin)
|
if(p >= 0 && get_parent_dir(cs.at) == cs.spin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user