diff --git a/Projects/Android/jni/OpenJK/code/rd-gles/tr_sky.cpp b/Projects/Android/jni/OpenJK/code/rd-gles/tr_sky.cpp index 0a3cb92..f84ac19 100644 --- a/Projects/Android/jni/OpenJK/code/rd-gles/tr_sky.cpp +++ b/Projects/Android/jni/OpenJK/code/rd-gles/tr_sky.cpp @@ -845,7 +845,10 @@ void RB_StageIteratorSky( void ) { return; } + //Don't need to use the following in JK3 +#ifdef JK2_MODE hasskybox = 1; +#endif // go through all the polygons and project them onto // the sky box to see which blocks on each side need