mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +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)) {
|
||||
x = C_IGNORE;
|
||||
}
|
||||
else if(id == 0) x = C_CHILD;
|
||||
else {
|
||||
int p = get_parent_dir(cs.at);
|
||||
if(p >= 0 && get_parent_dir(cs.at) == cs.spin)
|
||||
|
Loading…
Reference in New Issue
Block a user