Add 'float' and 'state' as possible return types for action functions
This commit is contained in:
parent
45108e9bb8
commit
0f70d10521
2 changed files with 9 additions and 0 deletions
|
|
@ -3147,6 +3147,7 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
|
|||
else if (rets[0] == TypeFloat64) ValueType = VAL_Float;
|
||||
else if (rets[0] == TypeAngle) ValueType = VAL_Angle;
|
||||
else if (rets[0] == TypeFixed) ValueType = VAL_Fixed;
|
||||
else if (rets[0] == TypeState) ValueType = VAL_State;
|
||||
else
|
||||
{
|
||||
ValueType = VAL_Int;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue