core/Translator.cpp
changeset 1764 e4f24e9789fd
parent 1656 b0b86d57530c
child 1925 61d7a244b641
     1.1 --- a/core/Translator.cpp	Tue Dec 04 15:29:37 2007 +0000
     1.2 +++ b/core/Translator.cpp	Tue Dec 04 15:58:07 2007 +0000
     1.3 @@ -729,20 +729,7 @@
     1.4  
     1.5  	unsigned int id;
     1.6  
     1.7 -	//backwards compatibility shim
     1.8 -	/* hack -- if core.cfg exists, exec it instead. */
     1.9 -	char path[PLATFORM_MAX_PATH];
    1.10 -	g_SourceMod.BuildPath(Path_SM, path, sizeof(path), "translations/core.cfg");
    1.11 -	
    1.12 -	if (g_LibSys.PathExists(path))
    1.13 -	{
    1.14 -		id = FindOrAddPhraseFile("core.cfg");
    1.15 -	}
    1.16 -	else
    1.17 -	{
    1.18 -		id = FindOrAddPhraseFile("core.phrases.txt");
    1.19 -	}
    1.20 -
    1.21 +	id = FindOrAddPhraseFile("core.phrases.txt");
    1.22  	g_pCorePhraseID = id;
    1.23  	g_pCorePhrases = GetFileByIndex(id);
    1.24  }