- Converted all action functions be directly callable by the VM (though they are not yet

usable).

SVN r2154 (scripting)
This commit is contained in:
Randy Heit 2010-02-12 06:04:57 +00:00
commit 739e684549
108 changed files with 2827 additions and 1295 deletions

View file

@ -924,7 +924,7 @@ static void ParseActionDef (FScanner &sc, PClass *cls)
{
PSymbolActionFunction *sym = new PSymbolActionFunction(funcname);
sym->Arguments = args;
sym->Function = afd->Function;
sym->Function = *(afd->VMPointer);
if (hasdefaults)
{
sym->defaultparameterindex = StateParams.Size();