mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-04-06 00:25:02 +00:00
game: fix hltvdirector
This commit is contained in:
parent
241f8fb007
commit
3204f9b055
@ -70,7 +70,7 @@ static float WeightedAngle( Vector vec1, Vector vec2)
|
||||
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
|
||||
|
||||
|
@ -219,7 +219,6 @@ static CTFHLTVDirector s_HLTVDirector; // singleton
|
||||
|
||||
EXPOSE_SINGLE_INTERFACE_GLOBALVAR( CHLTVDirector, IHLTVDirector, INTERFACEVERSION_HLTVDIRECTOR, s_HLTVDirector );
|
||||
|
||||
#if 0
|
||||
CHLTVDirector* HLTVDirector()
|
||||
{
|
||||
return &s_HLTVDirector;
|
||||
@ -229,4 +228,3 @@ IGameSystem* HLTVDirectorSystem()
|
||||
{
|
||||
return &s_HLTVDirector;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user