Lost Soul: ShowHostile function in manhack must be virtual to be overridden

This commit is contained in:
Derek Dik 2018-10-16 16:34:14 -04:00
parent b7873d0529
commit 88a8cf9ea7

View File

@ -170,6 +170,7 @@ public:
m_iHealth = 0; m_iHealth = 0;
} }
virtual void ShowHostile(bool hostile = true);
DEFINE_CUSTOM_AI; DEFINE_CUSTOM_AI;
@ -186,7 +187,7 @@ private:
void UpdatePanels( void ); void UpdatePanels( void );
void SetEyeState( int state ); void SetEyeState( int state );
void ShowHostile( bool hostile = true );
bool IsFlyingActivity( Activity baseAct ); bool IsFlyingActivity( Activity baseAct );