Use PFunction instead of PSymbolActionFunction in DECORATE parser

This commit is contained in:
Randy Heit 2013-08-14 22:00:16 -05:00
commit cf87d0f1e9
8 changed files with 169 additions and 172 deletions

View file

@ -553,9 +553,9 @@ FVariableInfo *FindVariable(const char * string, const PClass *cls)
//
//==========================================================================
PSymbolActionFunction *FindGlobalActionFunction(const char *name)
PFunction *FindGlobalActionFunction(const char *name)
{
return dyn_cast<PSymbolActionFunction>(RUNTIME_CLASS(AActor)->Symbols.FindSymbol(name, false));
return dyn_cast<PFunction>(RUNTIME_CLASS(AActor)->Symbols.FindSymbol(name, false));
}