diff --git a/dlls/gearbox/cleansuit_scientist.cpp b/dlls/gearbox/cleansuit_scientist.cpp index cee02ea1..fe8b2ef8 100644 --- a/dlls/gearbox/cleansuit_scientist.cpp +++ b/dlls/gearbox/cleansuit_scientist.cpp @@ -33,6 +33,7 @@ class CCleansuitScientist : public CScientist public: void Spawn( void ); void Precache( void ); + virtual BOOL CanHeal(void); }; LINK_ENTITY_TO_CLASS(monster_cleansuit_scientist, CCleansuitScientist); @@ -94,6 +95,11 @@ void CCleansuitScientist::Precache(void) CTalkMonster::Precache(); } +BOOL CCleansuitScientist::CanHeal() +{ + return FALSE; +} + //========================================================= // Dead Cleansuit Scientist PROP //========================================================= diff --git a/dlls/scientist.h b/dlls/scientist.h index 9415e078..c04f45c5 100644 --- a/dlls/scientist.h +++ b/dlls/scientist.h @@ -67,7 +67,7 @@ public: float CoverRadius(void) { return 1200; } // Need more room for cover because scientists want to get far away! BOOL DisregardEnemy(CBaseEntity *pEnemy) { return !pEnemy->IsAlive() || (gpGlobals->time - m_fearTime) > 15; } - BOOL CanHeal(void); + virtual BOOL CanHeal(void); void Heal(void); virtual void Scream(void); @@ -136,4 +136,4 @@ public: float m_flResponseDelay; }; -#endif // SCIENTIST_H \ No newline at end of file +#endif // SCIENTIST_H