1
0
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:
Zeno Rogue 2021-08-17 14:18:05 +02:00
parent 6080443fde
commit 5e534dbe28

View File

@ -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;