mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 06:32:00 +00:00
fix for the writetofile builtin. This builtin should work now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4151 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9552e7fb64
commit
705e1ab0e0
1 changed files with 1 additions and 1 deletions
|
@ -1525,7 +1525,7 @@ void QCBUILTIN PF_loadfromfile (progfuncs_t *prinst, struct globalvars_s *pr_glo
|
|||
|
||||
void QCBUILTIN PF_writetofile(progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||
{
|
||||
int fnum = G_FLOAT(OFS_PARM0);
|
||||
int fnum = G_FLOAT(OFS_PARM0)-FIRST_QC_FILE_INDEX;
|
||||
void *ed = G_EDICT(prinst, OFS_PARM1);
|
||||
|
||||
char buffer[65536];
|
||||
|
|
Loading…
Reference in a new issue