mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-26 06:01:14 +00:00
Reverted spriteID part - can't be a string
This commit is contained in:
parent
83f868a049
commit
414d16a0f7
1 changed files with 1 additions and 2 deletions
|
@ -8206,8 +8206,7 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
|
||||||
if (x)
|
if (x)
|
||||||
{
|
{
|
||||||
if (x->ValueType == TypeName ||
|
if (x->ValueType == TypeName ||
|
||||||
x->ValueType == TypeSound ||
|
x->ValueType == TypeSound) // spriteID can be a string too.
|
||||||
x->ValueType == TypeSpriteID) // spriteID can be a string too.
|
|
||||||
{
|
{
|
||||||
x = new FxStringCast(x);
|
x = new FxStringCast(x);
|
||||||
x = x->Resolve(ctx);
|
x = x->Resolve(ctx);
|
||||||
|
|
Loading…
Reference in a new issue