Fix compilation.

This commit is contained in:
Andrey Akhmichin 2020-01-01 05:01:03 +05:00
parent 1719cc8c6f
commit e8565f7bfd

View File

@ -95,9 +95,9 @@ void CHornet::Spawn( void )
SetTouch( &CHornet::DieTouch ); SetTouch( &CHornet::DieTouch );
SetThink( &CHornet::StartTrack ); SetThink( &CHornet::StartTrack );
/*edict_t *pSoundEnt = pev->owner; edict_t *pSoundEnt = pev->owner;
if( !pSoundEnt ) if( !pSoundEnt )
pSoundEnt = edict();*/ pSoundEnt = edict();
switch( RANDOM_LONG( 0, 2 ) ) switch( RANDOM_LONG( 0, 2 ) )
{ {