mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Sync with upstream (Issue #30).
Recompiled tier1 and mathlib for all platforms will come in next commit.
This commit is contained in:
@ -219,7 +219,7 @@ void C_SceneEntity::SetupClientOnlyScene( const char *pszFilename, C_BaseFlex *p
|
||||
{
|
||||
LoadSceneFromFile( szFilename );
|
||||
|
||||
if (!CommandLine()->FindParm("-hushasserts"))
|
||||
if ( !HushAsserts() )
|
||||
{
|
||||
Assert( m_pScene );
|
||||
}
|
||||
@ -257,7 +257,7 @@ void C_SceneEntity::SetupClientOnlyScene( const char *pszFilename, C_BaseFlex *p
|
||||
|
||||
if ( m_hOwner.Get() )
|
||||
{
|
||||
if (!CommandLine()->FindParm("-hushasserts"))
|
||||
if ( !HushAsserts() )
|
||||
{
|
||||
Assert( m_pScene );
|
||||
}
|
||||
@ -1108,7 +1108,7 @@ void C_SceneEntity::SetCurrentTime( float t, bool forceClientSync )
|
||||
//-----------------------------------------------------------------------------
|
||||
void C_SceneEntity::PrefetchAnimBlocks( CChoreoScene *pScene )
|
||||
{
|
||||
if (!CommandLine()->FindParm("-hushasserts"))
|
||||
if ( !HushAsserts() )
|
||||
{
|
||||
Assert( pScene && m_bMultiplayer );
|
||||
}
|
||||
|
Reference in New Issue
Block a user