mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Merge 2257fa14e7
This commit is contained in:
parent
4ae58b4170
commit
cabb03ad45
@ -407,7 +407,7 @@ void CHornet::DartTouch( CBaseEntity *pOther )
|
||||
|
||||
void CHornet::DieTouch( CBaseEntity *pOther )
|
||||
{
|
||||
if( pOther && pOther->pev->takedamage )
|
||||
if( pOther && pOther->pev->takedamage && pev->owner )
|
||||
{
|
||||
// do the damage
|
||||
switch( RANDOM_LONG( 0, 2 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user