diff --git a/core/Translator.cpp b/core/Translator.cpp index eb6bc92e..938ad8af 100644 --- a/core/Translator.cpp +++ b/core/Translator.cpp @@ -729,20 +729,7 @@ void Translator::OnSourceModAllInitialized() unsigned int id; - //backwards compatibility shim - /* hack -- if core.cfg exists, exec it instead. */ - char path[PLATFORM_MAX_PATH]; - g_SourceMod.BuildPath(Path_SM, path, sizeof(path), "translations/core.cfg"); - - if (g_LibSys.PathExists(path)) - { - id = FindOrAddPhraseFile("core.cfg"); - } - else - { - id = FindOrAddPhraseFile("core.phrases.txt"); - } - + id = FindOrAddPhraseFile("core.phrases.txt"); g_pCorePhraseID = id; g_pCorePhrases = GetFileByIndex(id); } diff --git a/core/smn_bitbuffer.cpp b/core/smn_bitbuffer.cpp index fe8479a7..7db96957 100644 --- a/core/smn_bitbuffer.cpp +++ b/core/smn_bitbuffer.cpp @@ -497,7 +497,7 @@ static cell_t smn_BfReadString(IPluginContext *pCtx, const cell_t *params) } pCtx->LocalToPhysAddr(params[2], (cell_t **)&buf); - pBitBuf->ReadString(buf, params[3], params[4], &numChars); + pBitBuf->ReadString(buf, params[3], params[4] ? true : false, &numChars); if (pBitBuf->IsOverflowed()) {