mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
might as well return the result of the main in the progs
This commit is contained in:
parent
e349ed3013
commit
bddf7069a2
1 changed files with 1 additions and 1 deletions
|
@ -92,5 +92,5 @@ main ()
|
|||
read_result = (float*)PR_GetGlobalPointer (&progs, "read_result");
|
||||
main_func = PR_GetFunctionIndex (&progs, "main");
|
||||
PR_ExecuteProgram (&progs, main_func);
|
||||
return 0;
|
||||
return G_FLOAT (&progs, OFS_RETURN);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue