1
0
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:
Zeno Rogue 2022-04-16 13:59:38 +02:00
parent f86670ec19
commit 197157838d

View File

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