Skip to content

Commit

Permalink
Update drawable.cpp
Browse files Browse the repository at this point in the history
Fixed boolean expression
  • Loading branch information
6emmes committed Oct 18, 2024
1 parent 5a0ac60 commit ada64af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/client/drawable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3185,7 +3185,7 @@ void Drawable::Update_Drawable()
(*modules)->Set_Terrain_Decal_Opacity(m_terrainDecalOpacity);
}

if (m_terrainDecalFadeTarget2 < 0.0f || m_terrainDecalOpacity <= 0.0f) {
if (m_terrainDecalFadeTarget2 < 0.0f && m_terrainDecalOpacity <= 0.0f) {
m_terrainDecalFadeTarget2 = 0.0f;
m_terrainDecalOpacity = 0.0f;
Set_Terrain_Decal(TERRAIN_DECAL_8);
Expand Down

0 comments on commit ada64af

Please sign in to comment.