engine: move PARM_SKY_SPHERE handling out of engine to renderer, after all renderers might or might not support sky spheres

This commit is contained in:
Alibek Omarov
2023-12-30 16:54:37 +03:00
parent 6059538d77
commit d971055927
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -142,8 +142,6 @@ intptr_t CL_RenderGetParm( const int parm, const int arg, const qboolean checkRe
return 1;
#endif
return 0;
case PARM_SKY_SPHERE:
return FBitSet( world.flags, FWORLD_SKYSPHERE ) && !FBitSet( world.flags, FWORLD_CUSTOM_SKYBOX );
case PARAM_GAMEPAUSED:
return cl.paused;
case PARM_CLIENT_INGAME: