Skip to content

Commit 61ca3f7

Browse files
rabscootleEricS-Valve
authored andcommitted
Added hotfix for recently added fix; Added check for if the versus doors model hasn't been initialized yet
1 parent 18ea5ed commit 61ca3f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/game/client/tf/tf_hud_match_status.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,12 @@ void CTFHudMatchStatus::FireGameEvent( IGameEvent * event )
580580
int nSubModel = 0;
581581
if (pMatchDesc->BGetRoundDoorParameters(nSkin, nSubModel))
582582
{
583+
// Is VS doors model not initialized yet?
584+
if (m_pMatchStartModelPanel->m_hModel == NULL)
585+
{
586+
m_pMatchStartModelPanel->UpdateModel();
587+
}
588+
583589
m_pMatchStartModelPanel->SetBodyGroup( "logos", nSubModel );
584590
m_pMatchStartModelPanel->UpdateModel();
585591
m_pMatchStartModelPanel->SetSkin( nSkin );

0 commit comments

Comments
 (0)