Skip to content

Commit

Permalink
Fix target check.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Apr 4, 2021
1 parent 08f5c26 commit 4ba54bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/cbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class CBaseEntity
virtual BOOL IsAlive( void ) { return (pev->deadflag == DEAD_NO) && pev->health > 0; }
virtual BOOL IsBSPModel( void ) { return pev->solid == SOLID_BSP || pev->movetype == MOVETYPE_PUSHSTEP; }
virtual BOOL ReflectGauss( void ) { return ( IsBSPModel() && !pev->takedamage ); }
virtual BOOL HasTarget( string_t targetname ) { return FStrEq(STRING(targetname), STRING(pev->targetname) ); }
virtual BOOL HasTarget( string_t targetname ) { return FStrEq(STRING(targetname), STRING(pev->target) ); }
virtual BOOL IsInWorld( void );
virtual BOOL IsPlayer( void ) { return FALSE; }
virtual BOOL IsNetClient( void ) { return FALSE; }
Expand Down

0 comments on commit 4ba54bd

Please sign in to comment.