mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
rulegen:: get_parent_dir now finds a conflict in symmetric case
This commit is contained in:
parent
6080443fde
commit
5e534dbe28
@ -532,7 +532,7 @@ EX int get_parent_dir(tcell *c) {
|
||||
if(old == -1) return true;
|
||||
if(i%k != old%k) return i%k < old%k;
|
||||
if(old < i) old += n;
|
||||
return old < i+(n+1)/2;
|
||||
return old <= i+n/2;
|
||||
};
|
||||
|
||||
int d = c->dist;
|
||||
|
Loading…
Reference in New Issue
Block a user