diff --git a/game/server/hltvdirector.cpp b/game/server/hltvdirector.cpp index 34d69736..2bc4ff05 100644 --- a/game/server/hltvdirector.cpp +++ b/game/server/hltvdirector.cpp @@ -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 diff --git a/game/server/tf2base/tf_hltvdirector.cpp b/game/server/tf2base/tf_hltvdirector.cpp index 2a17cd96..fe50d2bd 100644 --- a/game/server/tf2base/tf_hltvdirector.cpp +++ b/game/server/tf2base/tf_hltvdirector.cpp @@ -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