Skip to content

Commit 901c158

Browse files
committed
fix fog always updating and interpolating
small `-` missing :)
1 parent 5ecca7c commit 901c158

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/de/bixilon/minosoft/gui/rendering/camera/fog

1 file changed

+1
-1
lines changed

src/main/java/de/bixilon/minosoft/gui/rendering/camera/fog/FogManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class FogManager(
103103
}
104104
state.color = color
105105
if (progress >= 1.0f) {
106-
interpolation.change = 1L // this avoid further interpolations with the same data
106+
interpolation.change = -1L // this avoid further interpolations with the same data
107107
interpolation.color = options?.color
108108
}
109109

0 commit comments

Comments
 (0)