mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-13 00:24:17 +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++)
|
for (i = 0; i <= splitscreen; i++)
|
||||||
{
|
{
|
||||||
player_t *player = &players[displayplayers[i]];
|
player_t *player = &players[displayplayers[i]];
|
||||||
boolean skyVisible = skyVisiblePerPlayer[i];
|
boolean isSkyVisibleForPlayer = skyVisiblePerPlayer[i];
|
||||||
if (skyVisible && skyboxmo[0] && cv_skybox.value)
|
if (isSkyVisibleForPlayer && skyboxmo[0] && cv_skybox.value)
|
||||||
{
|
{
|
||||||
R_SkyboxFrame(player);
|
R_SkyboxFrame(player);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue