- Added type coercion for action function parameters.

- I add PARAMI, and then I don't even do it right...

SVN r1919 (scripting)
This commit is contained in:
Randy Heit 2009-10-15 22:15:55 +00:00
commit 3cbac657d6
4 changed files with 18 additions and 3 deletions

View file

@ -303,7 +303,7 @@ static void FinishThingdef()
VMScriptFunction *func = buildit.MakeFunction();
#if 1
const char *marks = "=======================================================";
char label[40];
char label[64];
int labellen = mysnprintf(label, countof(label), "Function %s.States[%d] (*%d)",
tcall->ActorInfo->Class->TypeName.GetChars(),
tcall->FirstState, tcall->NumStates);