mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 00:13:09 +00:00
added some missing CAP_SOLV guards
This commit is contained in:
1 parent
90baab83eb
commit
8833251c8b
4 files changed
+16
No files matched your search
@@ -968,7 +968,9 @@ EX bool in_smart_range(const transmatrix& T) {
|
||||
hyperpoint h = tC0(T);
|
||||
if(invalid_point(h)) return false;
|
||||
if(nil) return true;
|
||||
#if CAP_SOLV
|
||||
if(pmodel == mdGeodesic) return solv::in_table_range(h);
|
||||
#endif
|
||||
hyperpoint h1;
|
||||
applymodel(h, h1);
|
||||
if(invalid_point(h1)) return false;
|
||||
|
||||
Reference in new issue
Block a user