mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +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->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);
|
||||
|
|
Loading…
Reference in a new issue