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
1 changed files with 2 additions and 1 deletions

View File

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