mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-09 01:44:08 +00:00
fixed in_smart_range to use nisot::in_table_range
This commit is contained in:
parent
f86670ec19
commit
197157838d
@ -1555,7 +1555,7 @@ EX bool in_smart_range(const shiftmatrix& T) {
|
|||||||
if(invalid_point(h)) return false;
|
if(invalid_point(h)) return false;
|
||||||
if(nil || nih) return true;
|
if(nil || nih) return true;
|
||||||
#if CAP_SOLV
|
#if CAP_SOLV
|
||||||
if(pmodel == mdGeodesic) return sn::in_table_range(h.h);
|
if(pmodel == mdGeodesic) return nisot::in_table_range(h.h);
|
||||||
#endif
|
#endif
|
||||||
hyperpoint h1;
|
hyperpoint h1;
|
||||||
applymodel(h, h1);
|
applymodel(h, h1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user