Skip to content

Commit ad16c1f

Browse files
authored
Fix tree rendering (#865)
1 parent 922c8bf commit ad16c1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/platform/w3dengine/client/w3dtreebuffer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,8 @@ void W3DTreeBuffer::Update_Vertex_Buffer()
11891189
if (m_trees[tree].vb_index == i) {
11901190
int tree_type = m_trees[tree].tree_type;
11911191

1192-
if ((tree_type >= 0 && (m_trees[tree].push_aside_move_time != 0.0f)
1192+
if (tree_type >= 0
1193+
&& (m_trees[tree].push_aside_move_time != 0.0f
11931194
|| m_trees[tree].topple_state != TTree::TOPPLE_UPRIGHT)) {
11941195
m_vertexesDirty = true;
11951196

0 commit comments

Comments
 (0)