1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-23 16:50:27 +00:00

ray:: in berger sphere can be disabled

This commit is contained in:
Zeno Rogue 2020-07-28 16:45:04 +02:00
parent c25e120c13
commit fbe0df9814

View File

@ -87,8 +87,8 @@ EX bool available() {
/** do we want to use the raycaster? */ /** do we want to use the raycaster? */
EX bool requested() { EX bool requested() {
if(cgflags & qRAYONLY) return true; if(cgflags & qRAYONLY) return true;
if(stretch::in() && sphere) return true;
if(!want_use) return false; if(!want_use) return false;
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;
#endif #endif