@@ -157,9 +157,9 @@ bool GetInterfaces( InterfaceHelper_t* pInterfaceList, CreateInterfaceFn factory
157157
158158 // If it's not valid, bail out.
159159 if ( *pGlobal ) {
160- DevMsg (1 , " [SP] Interface %s at %x\n " , pInterface->szInterface , *pGlobal);
160+ DevMsg (1 , MSG_PREFIX " Interface %s at %x\n " , pInterface->szInterface , *pGlobal);
161161 } else {
162- Warning (" [SP] Could not retrieve interface %s\n " , pInterface->szInterface );
162+ Warning (MSG_PREFIX " Could not retrieve interface %s\n " , pInterface->szInterface );
163163 return false ;
164164 }
165165
@@ -211,13 +211,13 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn
211211
212212 // Initialize game paths.
213213 if ( !g_GamePaths.Initialize () ) {
214- DevMsg (0 , " Could not initialize game paths." );
214+ DevMsg (0 , MSG_PREFIX " Could not initialize game paths.\n " );
215215 return false ;
216216 }
217217
218218 // Initialize python
219219 if ( !g_PythonManager.Initialize () ) {
220- DevMsg (0 , " Could not initialize python." );
220+ DevMsg (0 , MSG_PREFIX " Could not initialize python.\n " );
221221 return false ;
222222 }
223223
@@ -377,7 +377,7 @@ void CSourcePython::OnQueryCvarValueFinished( QueryCvarCookie_t iCookie, edict_t
377377 EQueryCvarValueStatus eStatus, const char *pCvarName, const char *pCvarValue )
378378{
379379 g_AddonManager.OnQueryCvarValueFinished (iCookie, pPlayerEntity, eStatus, pCvarName, pCvarValue);
380- DevMsg (1 , " Cvar query (cookie: %d, status: %d) - name: %s, value: %s\n " , iCookie, eStatus, pCvarName, pCvarValue );
380+ DevMsg (1 , MSG_PREFIX " Cvar query (cookie: %d, status: %d) - name: %s, value: %s\n " , iCookie, eStatus, pCvarName, pCvarValue );
381381}
382382
383383// -----------------------------------------------------------------------------
@@ -386,7 +386,7 @@ void CSourcePython::OnQueryCvarValueFinished( QueryCvarCookie_t iCookie, edict_t
386386void CSourcePython::FireGameEvent ( IGameEvent * event )
387387{
388388 const char * name = event->GetName ();
389- DevMsg (1 , " CSourcePython::FireGameEvent: Got event \" %s\"\n " , name );
389+ DevMsg (1 , MSG_PREFIX " CSourcePython::FireGameEvent: Got event \" %s\"\n " , name );
390390
391391 // g_AddonManager.FireGameEvent(event);
392392}
0 commit comments