- fixed return type of MSTimeF script function.

This commit is contained in:
Christoph Oelckers 2022-04-30 12:13:20 +02:00
parent 70c0b6a9a6
commit 0a208597c6

View file

@ -495,7 +495,7 @@ DEFINE_ACTION_FUNCTION(DObject, MSTime)
DEFINE_ACTION_FUNCTION_NATIVE(DObject, MSTimef, I_msTimeF)
{
ACTION_RETURN_INT((double)I_msTimeF());
ACTION_RETURN_FLOAT(I_msTimeF());
}
void *DObject::ScriptVar(FName field, PType *type)