mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +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 )
|
void CHornet::DieTouch( CBaseEntity *pOther )
|
||||||
{
|
{
|
||||||
if( pOther && pOther->pev->takedamage )
|
if( pOther && pOther->pev->takedamage && pev->owner )
|
||||||
{
|
{
|
||||||
// do the damage
|
// do the damage
|
||||||
switch( RANDOM_LONG( 0, 2 ) )
|
switch( RANDOM_LONG( 0, 2 ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user