Fixed a compile error in sceneentity.cpp

This commit is contained in:
Blixibon 2021-07-24 00:37:22 -05:00
parent eae3881a03
commit d9accd2d7a

View File

@ -4284,7 +4284,7 @@ CBaseEntity *CSceneEntity::FindNamedEntity( const char *name, CBaseEntity *pActo
#ifdef MAPBASE #ifdef MAPBASE
const char *GetFirstSoundInScene(const char *pszScene) const char *GetFirstSoundInScene(const char *pszScene)
{ {
const char *soundName; const char *soundName = NULL;
SceneCachedData_t sceneData; SceneCachedData_t sceneData;
if ( scenefilecache->GetSceneCachedData( pszScene, &sceneData ) ) if ( scenefilecache->GetSceneCachedData( pszScene, &sceneData ) )
{ {