1.1 --- a/core/smn_filesystem.cpp Fri May 09 08:22:39 2008 +0000
1.2 +++ b/core/smn_filesystem.cpp Sat May 10 09:23:55 2008 +0000
1.3 @@ -568,7 +568,7 @@
1.4
1.5 static cell_t sm_LogToGame(IPluginContext *pContext, const cell_t *params)
1.6 {
1.7 - g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.8 + g_SourceMod.SetGlobalTarget(SOURCEMOD_SERVER_LANGUAGE);
1.9
1.10 char buffer[1024];
1.11 size_t len = g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 1);
1.12 @@ -594,7 +594,7 @@
1.13
1.14 static cell_t sm_LogMessage(IPluginContext *pContext, const cell_t *params)
1.15 {
1.16 - g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.17 + g_SourceMod.SetGlobalTarget(SOURCEMOD_SERVER_LANGUAGE);
1.18
1.19 char buffer[1024];
1.20 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 1);
1.21 @@ -612,7 +612,7 @@
1.22
1.23 static cell_t sm_LogError(IPluginContext *pContext, const cell_t *params)
1.24 {
1.25 - g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.26 + g_SourceMod.SetGlobalTarget(SOURCEMOD_SERVER_LANGUAGE);
1.27
1.28 char buffer[1024];
1.29 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 1);
1.30 @@ -667,7 +667,7 @@
1.31 }
1.32
1.33 char buffer[2048];
1.34 - g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.35 + g_SourceMod.SetGlobalTarget(SOURCEMOD_SERVER_LANGUAGE);
1.36 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
1.37
1.38 if (pContext->GetContext()->n_err != SP_ERROR_NONE)
1.39 @@ -698,7 +698,7 @@
1.40 }
1.41
1.42 char buffer[2048];
1.43 - g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.44 + g_SourceMod.SetGlobalTarget(SOURCEMOD_SERVER_LANGUAGE);
1.45 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
1.46
1.47 if (pContext->GetContext()->n_err != SP_ERROR_NONE)