mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-07 10:10:15 +00:00
replaced product::product_sphere()
This commit is contained in:
2
cell.cpp
2
cell.cpp
@@ -462,7 +462,7 @@ static const int ALTDIST_ERROR = 90000;
|
||||
EX int celldistAlt(cell *c) {
|
||||
if(experimental) return 0;
|
||||
if(hybri) {
|
||||
if(prod && product::product_sphere()) return hybrid::get_where(c).second;
|
||||
if(in_s2xe()) return hybrid::get_where(c).second;
|
||||
auto w = hybrid::get_where(c);
|
||||
int d = c->master->alt && c->master->alt->alt ? c->master->alt->alt->fieldval : 0;
|
||||
d = sl2 ? 0 : abs(w.second - d);
|
||||
|
||||
Reference in New Issue
Block a user