|
|
|
|
@ -2742,7 +2742,7 @@ void CalcPlrItemVals(Player &player, bool loadgfx)
|
|
|
|
|
|
|
|
|
|
lrad = clamp(lrad, 2, 15); |
|
|
|
|
|
|
|
|
|
if (player._pLightRad != lrad && &player == &Players[MyPlayerId]) { |
|
|
|
|
if (player._pLightRad != lrad) { |
|
|
|
|
ChangeLightRadius(player._plid, lrad); |
|
|
|
|
ChangeVisionRadius(player._pvid, lrad); |
|
|
|
|
player._pLightRad = lrad; |
|
|
|
|
|