game: fix hltvdirector

This commit is contained in:
SanyaSho 2022-08-11 03:03:05 +03:00
parent 241f8fb007
commit 3204f9b055
2 changed files with 1 additions and 3 deletions

View File

@ -70,7 +70,7 @@ static float WeightedAngle( Vector vec1, Vector vec2)
return a*a; // vectors are facing opposite direction return a*a; // vectors are facing opposite direction
} }
#if !defined( CSTRIKE_DLL ) && !defined( DOD_DLL ) && !defined( TF_DLL )// add your mod here if you use your own director #if !defined( CSTRIKE_DLL ) && !defined( DOD_DLL ) && !defined( TF_DLL ) && !defined( TF_MOD ) // add your mod here if you use your own director
static CHLTVDirector s_HLTVDirector; // singleton static CHLTVDirector s_HLTVDirector; // singleton

View File

@ -219,7 +219,6 @@ static CTFHLTVDirector s_HLTVDirector; // singleton
EXPOSE_SINGLE_INTERFACE_GLOBALVAR( CHLTVDirector, IHLTVDirector, INTERFACEVERSION_HLTVDIRECTOR, s_HLTVDirector ); EXPOSE_SINGLE_INTERFACE_GLOBALVAR( CHLTVDirector, IHLTVDirector, INTERFACEVERSION_HLTVDIRECTOR, s_HLTVDirector );
#if 0
CHLTVDirector* HLTVDirector() CHLTVDirector* HLTVDirector()
{ {
return &s_HLTVDirector; return &s_HLTVDirector;
@ -229,4 +228,3 @@ IGameSystem* HLTVDirectorSystem()
{ {
return &s_HLTVDirector; return &s_HLTVDirector;
} }
#endif