Disambiguate skyVisible from global variable
This commit is contained in:
1 parent
1b884dd8f2
commit
6db1496aaa
1 file changed
+2
-2
+2
-2
@@ -819,8 +819,8 @@ void P_Ticker(boolean run)
|
||||
for (i = 0; i <= splitscreen; i++)
|
||||
{
|
||||
player_t *player = &players[displayplayers[i]];
|
||||
boolean skyVisible = skyVisiblePerPlayer[i];
|
||||
if (skyVisible && skyboxmo[0] && cv_skybox.value)
|
||||
boolean isSkyVisibleForPlayer = skyVisiblePerPlayer[i];
|
||||
if (isSkyVisibleForPlayer && skyboxmo[0] && cv_skybox.value)
|
||||
{
|
||||
R_SkyboxFrame(player);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user