Browse Source

Remove semicolon to fix wrong if condition.

visitors
Andrey Akhmichin 5 years ago
parent
commit
403c8c179b
  1. 2
      dlls/scientist.cpp

2
dlls/scientist.cpp

@ -1072,7 +1072,7 @@ MONSTERSTATE CScientist::GetIdealState( void ) @@ -1072,7 +1072,7 @@ MONSTERSTATE CScientist::GetIdealState( void )
BOOL CScientist::CanHeal( void )
{
if( FStrEq( STRING( pev->model ), "models/cleansuit_scientist.mdl" ) );
if( FStrEq( STRING( pev->model ), "models/cleansuit_scientist.mdl" ) )
return FALSE;
if( ( m_healTime > gpGlobals->time ) || ( m_hTargetEnt == 0 ) || ( m_hTargetEnt->pev->health > ( m_hTargetEnt->pev->max_health * 0.5f ) ) )

Loading…
Cancel
Save