Reverted spriteID part - can't be a string

This commit is contained in:
ZZYZX 2017-01-30 09:11:10 +02:00
parent 83f868a049
commit 414d16a0f7

View file

@ -8206,8 +8206,7 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
if (x)
{
if (x->ValueType == TypeName ||
x->ValueType == TypeSound ||
x->ValueType == TypeSpriteID) // spriteID can be a string too.
x->ValueType == TypeSound) // spriteID can be a string too.
{
x = new FxStringCast(x);
x = x->Resolve(ctx);