noGUI taken into account in more places

This commit is contained in:
Zeno Rogue
2019-11-09 11:18:52 +01:00
parent 68e3d98f88
commit e6be9231c9
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -59,6 +59,8 @@ eGeometry last_geometry;
/** is the raycaster available? */
EX bool available() {
if(noGUI) return false;
if(!vid.usingGL) return false;
if(WDIM == 2) return false;
if(hyperbolic && pmodel == mdPerspective && !penrose)
return true;