1
0
Fork 0

Bugfix preventing visibility from jumping when leaving an Advanced Weather effect volume

This commit is contained in:
Thorsten Renk 2013-06-26 12:33:07 +03:00
parent 47f781fb2e
commit 9fbb4a2c00

View file

@ -769,7 +769,7 @@ if ((flag ==0) and (vis > 0.0) and (getprop(lw~"lift-loop-flag") == 0) and (comp
{
compat_layer.setVisibility(vis);
}
else if (getprop("/local-weather/current/visibility-m") > vis)
else if ((getprop("/local-weather/current/visibility-m") > vis) and (compat_layer.smooth_visibility_loop_flag == 0))
{
compat_layer.setVisibility(vis);
}