mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
rulegen3:: remove faster get_parent_dir as it causes problems
This commit is contained in:
1 parent
1c4aa3e71c
commit
97c10ff878
1 file changed
-10
-10
@@ -942,16 +942,6 @@ EX twalker get_parent_dir(twalker& cw) {
|
||||
|
||||
be_solid(c);
|
||||
|
||||
if(WDIM == 3) {
|
||||
for(int i=0; i<c->type; i++) {
|
||||
tcell *c1 = c->cmove(i);
|
||||
if(c1->dist < c->dist) {
|
||||
c->parent_dir = i;
|
||||
return twalker(c, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto oc = c;
|
||||
|
||||
if(c->dist > 0) {
|
||||
|
||||
Reference in new issue
Block a user