mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 19:29:13 +01: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)
|
||||
//pSoundEnt = CBaseEntity::Create( "soundent", g_vecZero, g_vecZero, edict() );
|
||||
pSoundEnt = GetClassPtr( ( CSoundEnt *)NULL );
|
||||
pSoundEnt->Spawn();
|
||||
|
||||
if( !pSoundEnt )
|
||||
if( pSoundEnt )
|
||||
{
|
||||
pSoundEnt->Spawn();
|
||||
}
|
||||
else
|
||||
{
|
||||
ALERT ( at_console, "**COULD NOT CREATE SOUNDENT**\n" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user