@@ -182,7 +182,7 @@ bool GetInterfaces( InterfaceHelper_t* pInterfaceList, CreateInterfaceFn factory
182182// -----------------------------------------------------------------------------
183183// Server output hook.
184184// -----------------------------------------------------------------------------
185- #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD)
185+ #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD) || defined(ENGINE_SDK2013)
186186SpewRetval_t SP_SpewOutput ( SpewType_t spewType, const tchar *pMsg )
187187{
188188 extern CListenerManager* GetOnServerOutputListenerManager ();
@@ -264,7 +264,7 @@ CSourcePython::CSourcePython()
264264 m_iClientCommandIndex = 0 ;
265265 m_pOldMDLCacheNotifier = NULL ;
266266
267- #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD)
267+ #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD) || defined(ENGINE_SDK2013)
268268 m_pOldSpewOutputFunc = NULL ;
269269#endif
270270}
@@ -321,7 +321,7 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn
321321 return false ;
322322 }
323323
324- #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD)
324+ #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD) || defined(ENGINE_SDK2013)
325325 DevMsg (1 , MSG_PREFIX " Retrieving old output function...\n " );
326326 m_pOldSpewOutputFunc = GetSpewOutputFunc ();
327327
@@ -364,7 +364,7 @@ void CSourcePython::Unload( void )
364364 DevMsg (1 , MSG_PREFIX " Unhooking all functions...\n " );
365365 GetHookManager ()->UnhookAllFunctions ();
366366
367- #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD)
367+ #if defined(ENGINE_ORANGEBOX) || defined(ENGINE_BMS) || defined(ENGINE_GMOD) || defined(ENGINE_SDK2013)
368368 if (m_pOldSpewOutputFunc)
369369 {
370370 DevMsg (1 , MSG_PREFIX " Restoring old output function...\n " );
0 commit comments