This commit is contained in:
raa-eruanna 2016-10-15 07:58:16 -04:00
commit cfb985ceb3
3 changed files with 29 additions and 0 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;
}