Implemented WorldThingSpawned hook. Also changed Console.Printf to automatically add \n. Also fixed vararg calls with names.
This commit is contained in:
parent
0598c18ad8
commit
83f868a049
6 changed files with 19 additions and 4 deletions
|
|
@ -8206,9 +8206,10 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
|
|||
if (x)
|
||||
{
|
||||
if (x->ValueType == TypeName ||
|
||||
x->ValueType == TypeSound)
|
||||
x->ValueType == TypeSound ||
|
||||
x->ValueType == TypeSpriteID) // spriteID can be a string too.
|
||||
{
|
||||
x = new FxStringCast(ArgList[i]);
|
||||
x = new FxStringCast(x);
|
||||
x = x->Resolve(ctx);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue