mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-18 00:32:09 +03:00
Added constructor for movie_display to mute sound by default
This commit is contained in:
parent
5bc2d7cb83
commit
5782574711
@ -21,6 +21,8 @@ public:
|
|||||||
DECLARE_DATADESC();
|
DECLARE_DATADESC();
|
||||||
DECLARE_SERVERCLASS();
|
DECLARE_SERVERCLASS();
|
||||||
|
|
||||||
|
CMovieDisplay() { m_bMuted = true; }
|
||||||
|
|
||||||
virtual ~CMovieDisplay();
|
virtual ~CMovieDisplay();
|
||||||
|
|
||||||
virtual bool KeyValue( const char *szKeyName, const char *szValue );
|
virtual bool KeyValue( const char *szKeyName, const char *szValue );
|
||||||
@ -123,6 +125,7 @@ CMovieDisplay::~CMovieDisplay()
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Read in Hammer data
|
// Read in Hammer data
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
bool CMovieDisplay::KeyValue( const char *szKeyName, const char *szValue )
|
bool CMovieDisplay::KeyValue( const char *szKeyName, const char *szValue )
|
||||||
{
|
{
|
||||||
// NOTE: Have to do these separate because they set two values instead of one
|
// NOTE: Have to do these separate because they set two values instead of one
|
||||||
|
Loading…
x
Reference in New Issue
Block a user