Added constructor for movie_display to mute sound by default

This commit is contained in:
Alivebyte 2021-04-25 18:56:49 +03:00
parent 5bc2d7cb83
commit 5782574711

View File

@ -21,6 +21,8 @@ public:
DECLARE_DATADESC();
DECLARE_SERVERCLASS();
CMovieDisplay() { m_bMuted = true; }
virtual ~CMovieDisplay();
virtual bool KeyValue( const char *szKeyName, const char *szValue );
@ -123,6 +125,7 @@ CMovieDisplay::~CMovieDisplay()
//-----------------------------------------------------------------------------
// Read in Hammer data
//-----------------------------------------------------------------------------
bool CMovieDisplay::KeyValue( const char *szKeyName, const char *szValue )
{
// NOTE: Have to do these separate because they set two values instead of one