From 414d16a0f7cbe366ea0666af8fcf329078253589 Mon Sep 17 00:00:00 2001 From: ZZYZX Date: Mon, 30 Jan 2017 09:11:10 +0200 Subject: [PATCH] Reverted spriteID part - can't be a string --- src/scripting/codegeneration/codegen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scripting/codegeneration/codegen.cpp b/src/scripting/codegeneration/codegen.cpp index 73a9ba1da..c05065802 100644 --- a/src/scripting/codegeneration/codegen.cpp +++ b/src/scripting/codegeneration/codegen.cpp @@ -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);