aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/episodic
diff options
context:
space:
mode:
authorNarendra Umate <[email protected]>2013-09-07 15:43:32 -0700
committerNarendra Umate <[email protected]>2013-09-07 15:43:32 -0700
commitc3ca7291626b60a32008774dd290671708babc20 (patch)
treec87d1097bb8b59b6724ca19560f7c92b0309caf3 /mp/src/game/server/episodic
parentUpdate .gitignore. (diff)
parentAdded missing libs for linux and OSX in their new location. (diff)
downloadsource-sdk-2013-c3ca7291626b60a32008774dd290671708babc20.tar.xz
source-sdk-2013-c3ca7291626b60a32008774dd290671708babc20.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/game/server/episodic')
-rw-r--r--mp/src/game/server/episodic/npc_hunter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp/src/game/server/episodic/npc_hunter.cpp b/mp/src/game/server/episodic/npc_hunter.cpp
index fa9daff8..9d7dfd3e 100644
--- a/mp/src/game/server/episodic/npc_hunter.cpp
+++ b/mp/src/game/server/episodic/npc_hunter.cpp
@@ -2199,7 +2199,7 @@ void CNPC_Hunter::PrescheduleThink()
if ( m_flPupilDilateTime < gpGlobals->curtime )
{
CBasePlayer *pPlayer = UTIL_PlayerByIndex( 1 );
- if ( pPlayer && !pPlayer->IsIlluminatedByFlashlight( this, NULL ) || !PlayerFlashlightOnMyEyes( pPlayer ) )
+ if ( ( pPlayer && !pPlayer->IsIlluminatedByFlashlight( this, NULL ) ) || !PlayerFlashlightOnMyEyes( pPlayer ) )
{
//Msg( "NOT SHINING FLASHLIGHT ON ME\n" );
@@ -6347,13 +6347,13 @@ void CNPC_Hunter::FootFX( const Vector &origin )
CBaseEntity *CNPC_Hunter::GetEnemyVehicle()
{
if ( GetEnemy() == NULL )
- return false;
+ return NULL;
CBaseCombatCharacter *pCCEnemy = GetEnemy()->MyCombatCharacterPointer();
if ( pCCEnemy != NULL )
return pCCEnemy->GetVehicleEntity();
- return false;
+ return NULL;
}