This commit is contained in:
Christoph Oelckers 2016-10-16 08:51:13 +02:00
commit b03489a43c
23 changed files with 332 additions and 173 deletions

View file

@ -1216,6 +1216,10 @@ int R_FindCustomTranslation(const char *name)
{
return TRANSLATION(TRANSLATION_Standard, 7);
}
else if (!stricmp(name, "None"))
{
return 0;
}
int *t = customTranslationMap.CheckKey(FName(name, true));
return (t != nullptr)? *t : -1;
}