File tree Expand file tree Collapse file tree 3 files changed +2
-749
lines changed
Expand file tree Collapse file tree 3 files changed +2
-749
lines changed Original file line number Diff line number Diff line change @@ -11470,7 +11470,6 @@ CAI_BaseNPC::CAI_BaseNPC(void)
1147011470
1147111471#ifdef BDSBASE
1147211472 SetAIIndex (g_AI_Manager.AddAI (this ));
11473- lagcompensation->RemoveNpcData (GetAIIndex ()); // make sure we're not inheriting anyone else's data
1147411473#else
1147511474 g_AI_Manager.AddAI (this );
1147611475#endif // BDSBASE
@@ -11497,10 +11496,6 @@ CAI_BaseNPC::CAI_BaseNPC(void)
1149711496CAI_BaseNPC::~CAI_BaseNPC (void )
1149811497{
1149911498 g_AI_Manager.RemoveAI ( this );
11500- #ifdef BDSBASE
11501- // this should stop a crash occuring when our death immediately creates a new NPC (eg headcrab from zombie)
11502- lagcompensation->RemoveNpcData (GetAIIndex ());
11503- #endif // BDSBASE
1150411499
1150511500 delete m_pLockedBestSound;
1150611501
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ abstract_class ILagCompensationManager
2424 virtual void StartLagCompensation ( CBasePlayer *player, CUserCmd *cmd ) = 0 ;
2525 virtual void FinishLagCompensation ( CBasePlayer *player ) = 0 ;
2626 virtual bool IsCurrentlyDoingLagCompensation () const = 0 ;
27- #ifdef BDSBASE
28- virtual void RemoveNpcData (int index) = 0 ;
29- #endif // BDSBASE
3027};
3128
3229extern ILagCompensationManager *lagcompensation;
You can’t perform that action at this time.
0 commit comments