mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Merge 14fa5e81d0
This commit is contained in:
parent
13a691bdd8
commit
3dfbd2a41f
@ -484,9 +484,12 @@ void CWorld::Precache( void )
|
|||||||
///!!!LATER - do we want a sound ent in deathmatch? (sjb)
|
///!!!LATER - do we want a sound ent in deathmatch? (sjb)
|
||||||
//pSoundEnt = CBaseEntity::Create( "soundent", g_vecZero, g_vecZero, edict() );
|
//pSoundEnt = CBaseEntity::Create( "soundent", g_vecZero, g_vecZero, edict() );
|
||||||
pSoundEnt = GetClassPtr( ( CSoundEnt *)NULL );
|
pSoundEnt = GetClassPtr( ( CSoundEnt *)NULL );
|
||||||
pSoundEnt->Spawn();
|
|
||||||
|
|
||||||
if( !pSoundEnt )
|
if( pSoundEnt )
|
||||||
|
{
|
||||||
|
pSoundEnt->Spawn();
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
ALERT ( at_console, "**COULD NOT CREATE SOUNDENT**\n" );
|
ALERT ( at_console, "**COULD NOT CREATE SOUNDENT**\n" );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user