1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

ray:: requested in intra, no cgi_string used

This commit is contained in:
Zeno Rogue 2021-10-10 00:39:04 +02:00
parent 6db94b134d
commit 56af053d4b

View File

@ -148,6 +148,7 @@ EX bool available() {
EX bool requested() { EX bool requested() {
if(cgflags & qRAYONLY) return true; if(cgflags & qRAYONLY) return true;
if(!want_use) return false; if(!want_use) return false;
if(intra::in) return true;
if(stretch::in() && sphere) return true; if(stretch::in() && sphere) return true;
#if CAP_TEXTURE #if CAP_TEXTURE
if(texture::config.tstate == texture::tsActive) return false; if(texture::config.tstate == texture::tsActive) return false;
@ -290,7 +291,7 @@ tuple<
vrhr::state, vrhr::state,
vrhr::eyes, vrhr::eyes,
#endif #endif
cgi_string() intra::in ? "INTRA" : cgi_string()
); );
} }