Restore "direct" call optimization for DECORATE

This commit is contained in:
Randy Heit 2016-02-18 22:05:16 -06:00
commit b1098ede93
3 changed files with 18 additions and 22 deletions

View file

@ -277,7 +277,7 @@ static void FinishThingdef()
// Can we call this function directly without wrapping it in an
// anonymous function? e.g. Are we passing any parameters to it?
func = NULL;//tcall->Code->GetDirectFunction();
func = tcall->Code->GetDirectFunction();
if (func == NULL)
{
FCompileContext ctx(tcall->ActorClass);