mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
Disambiguate skyVisible from global variable
This commit is contained in:
parent
1b884dd8f2
commit
6db1496aaa
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue