mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-08 23:13:10 -04:00
fix fog always updating and interpolating
small `-` missing :)
This commit is contained in:
parent
5ecca7c87e
commit
901c158b80
@ -103,7 +103,7 @@ class FogManager(
|
|||||||
}
|
}
|
||||||
state.color = color
|
state.color = color
|
||||||
if (progress >= 1.0f) {
|
if (progress >= 1.0f) {
|
||||||
interpolation.change = 1L // this avoid further interpolations with the same data
|
interpolation.change = -1L // this avoid further interpolations with the same data
|
||||||
interpolation.color = options?.color
|
interpolation.color = options?.color
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user