2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2025-01-23 02:10:13 +01:00
This commit is contained in:
Night Owl 2017-07-02 16:11:40 +05:00
parent 4ae58b4170
commit cabb03ad45

View File

@ -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 ) )