@@ -182,7 +182,7 @@ bool GetInterfaces( InterfaceHelper_t* pInterfaceList, CreateInterfaceFn factory
182
182
// -----------------------------------------------------------------------------
183
183
// Server output hook.
184
184
// -----------------------------------------------------------------------------
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)
186
186
SpewRetval_t SP_SpewOutput ( SpewType_t spewType, const tchar *pMsg )
187
187
{
188
188
extern CListenerManager* GetOnServerOutputListenerManager ();
@@ -264,7 +264,7 @@ CSourcePython::CSourcePython()
264
264
m_iClientCommandIndex = 0 ;
265
265
m_pOldMDLCacheNotifier = NULL ;
266
266
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)
268
268
m_pOldSpewOutputFunc = NULL ;
269
269
#endif
270
270
}
@@ -321,7 +321,7 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn
321
321
return false ;
322
322
}
323
323
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)
325
325
DevMsg (1 , MSG_PREFIX " Retrieving old output function...\n " );
326
326
m_pOldSpewOutputFunc = GetSpewOutputFunc ();
327
327
@@ -364,7 +364,7 @@ void CSourcePython::Unload( void )
364
364
DevMsg (1 , MSG_PREFIX " Unhooking all functions...\n " );
365
365
GetHookManager ()->UnhookAllFunctions ();
366
366
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)
368
368
if (m_pOldSpewOutputFunc)
369
369
{
370
370
DevMsg (1 , MSG_PREFIX " Restoring old output function...\n " );
0 commit comments