Skip to content

Commit c379c39

Browse files
Synchronize changes from 1.6 master branch [ci skip]
4dc977a Fix createBuilding disable_backface_culling (#4016)
2 parents 466848b + 4dc977a commit c379c39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Client/mods/deathmatch/logic/CClientBuilding.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ void CClientBuilding::Create()
133133
if (!m_pBuilding)
134134
return;
135135

136-
m_pBuilding->SetBackfaceCulled(!m_bDoubleSided);
136+
if (m_bDoubleSidedInit)
137+
m_pBuilding->SetBackfaceCulled(!m_bDoubleSided);
137138

138139
if (!m_usesCollision)
139140
{

0 commit comments

Comments
 (0)