mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 02:37:55 +00:00
fix elliptic S3
This commit is contained in:
@@ -1535,6 +1535,7 @@ EX unsigned bucketer(hyperpoint h) {
|
||||
}
|
||||
dx += bucketer(h[0]) + 1000 * bucketer(h[1]) + 1000000 * bucketer(h[2]);
|
||||
if(MDIM == 4) dx += bucketer(h[3]) * 1000000001;
|
||||
if(elliptic) dx = min(dx, -dx);
|
||||
return dx;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user