Skip to content

Commit 6276f81

Browse files
committed
Fix ropes still looking for SDK_Cable
1 parent 4ed9959 commit 6276f81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/game/client/c_rope.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ void CRopeManager::DrawRenderCache_NonQueued( bool bShadowDepth, RopeRenderData_
546546
IMaterial *pMaterial = bShadowDepth ? g_pSplineCableShadowdepth : pRenderCache[iRenderCache].m_pSolidMaterial;
547547

548548
// Need to make sure that all rope materials use the splinerope shader since there are a lot of assumptions about how the shader interfaces with this code.
549-
AssertOnce( V_strstr( pMaterial->GetShaderName(), "SDK_Cable" ) != NULL ); // splinerope
549+
AssertOnce( V_strstr( pMaterial->GetShaderName(), "Cable" ) != NULL ); // splinerope
550550

551551
pRenderContext->Bind( pMaterial );
552552

0 commit comments

Comments
 (0)