Skip to content

Commit 102369b

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feature/replace-cj-clothe-model
2 parents 18f34d6 + 4dc977a commit 102369b

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)