- made GetClassName an intrinsic and expanded it to also work on class types.

This commit is contained in:
Christoph Oelckers 2017-04-14 16:14:27 +02:00
commit 92acbdc625
5 changed files with 87 additions and 15 deletions

View file

@ -612,12 +612,6 @@ void DObject::CheckIfSerialized () const
}
DEFINE_ACTION_FUNCTION(DObject, GetClassName)
{
PARAM_SELF_PROLOGUE(DObject);
ACTION_RETURN_INT(self->GetClass()->TypeName);
}
DEFINE_ACTION_FUNCTION(DObject, MSTime)
{
ACTION_RETURN_INT(I_MSTime());