From 88a8cf9ea77ca0ec4ecac474eb574525994426d7 Mon Sep 17 00:00:00 2001 From: Derek Dik Date: Tue, 16 Oct 2018 16:34:14 -0400 Subject: [PATCH] Lost Soul: ShowHostile function in manhack must be virtual to be overridden --- sp/src/game/server/hl2/npc_manhack.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sp/src/game/server/hl2/npc_manhack.h b/sp/src/game/server/hl2/npc_manhack.h index 02d05962..e3457e36 100644 --- a/sp/src/game/server/hl2/npc_manhack.h +++ b/sp/src/game/server/hl2/npc_manhack.h @@ -170,6 +170,7 @@ public: m_iHealth = 0; } + virtual void ShowHostile(bool hostile = true); DEFINE_CUSTOM_AI; @@ -186,7 +187,7 @@ private: void UpdatePanels( void ); void SetEyeState( int state ); - void ShowHostile( bool hostile = true ); + bool IsFlyingActivity( Activity baseAct );