mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-05-17 17:18:01 +03:00
Added hotfix for recently added fix; Added check for if the versus doors model hasn't been initialized yet
This commit is contained in:
parent
18ea5ed7cc
commit
61ca3f7254
@ -580,6 +580,12 @@ void CTFHudMatchStatus::FireGameEvent( IGameEvent * event )
|
||||
int nSubModel = 0;
|
||||
if (pMatchDesc->BGetRoundDoorParameters(nSkin, nSubModel))
|
||||
{
|
||||
// Is VS doors model not initialized yet?
|
||||
if (m_pMatchStartModelPanel->m_hModel == NULL)
|
||||
{
|
||||
m_pMatchStartModelPanel->UpdateModel();
|
||||
}
|
||||
|
||||
m_pMatchStartModelPanel->SetBodyGroup( "logos", nSubModel );
|
||||
m_pMatchStartModelPanel->UpdateModel();
|
||||
m_pMatchStartModelPanel->SetSkin( nSkin );
|
||||
|
Loading…
x
Reference in New Issue
Block a user