1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 20:07:40 +00:00

added missing CAP_SOLV and CAP_TEXTURE guards

This commit is contained in:
Zeno Rogue
2019-11-03 14:20:24 +01:00
parent a0edba1922
commit a080be76ad
2 changed files with 4 additions and 0 deletions

View File

@@ -70,7 +70,9 @@ EX bool available() {
/** do we want to use the raycaster? */
EX bool requested() {
if(!want_use) return false;
#if CAP_TEXTURE
if(texture::config.tstate == texture::tsActive) return false;
#endif
if(!available()) return false;
if(want_use == 2) return true;
return racing::on || quotient;