fix TranslationID casting

This commit is contained in:
Ricardo Luís Vaz Silva 2024-12-20 22:45:38 -03:00 committed by Rachael Alexanderson
parent b7c9675c9d
commit eefad0764e

View file

@ -8511,6 +8511,7 @@ FxExpression *FxFunctionCall::Resolve(FCompileContext& ctx)
case NAME_State:
case NAME_SpriteID:
case NAME_TextureID:
case NAME_TranslationID:
if (CheckArgSize(MethodName, ArgList, 1, 1, ScriptPosition))
{
PType *type =