Skip to content

Commit ada64af

Browse files
committed
Update drawable.cpp
Fixed boolean expression
1 parent 5a0ac60 commit ada64af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/client/drawable.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3185,7 +3185,7 @@ void Drawable::Update_Drawable()
31853185
(*modules)->Set_Terrain_Decal_Opacity(m_terrainDecalOpacity);
31863186
}
31873187

3188-
if (m_terrainDecalFadeTarget2 < 0.0f || m_terrainDecalOpacity <= 0.0f) {
3188+
if (m_terrainDecalFadeTarget2 < 0.0f && m_terrainDecalOpacity <= 0.0f) {
31893189
m_terrainDecalFadeTarget2 = 0.0f;
31903190
m_terrainDecalOpacity = 0.0f;
31913191
Set_Terrain_Decal(TERRAIN_DECAL_8);

0 commit comments

Comments
 (0)