mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Fixed a crashing bug when loading addons.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1523 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b606b001a0
commit
153c576ac7
1 changed files with 2 additions and 2 deletions
|
@ -2671,7 +2671,7 @@ retry:
|
|||
else
|
||||
type = fld16[i].type & ~(DEF_SHARED|DEF_SAVEGLOBAL);
|
||||
if (type != ev_vector)
|
||||
QC_RegisterFieldVar(progfuncs, type, fld16[i].s_name+pr_strings, -1, fld16[i].ofs);
|
||||
QC_RegisterFieldVar(progfuncs, type, fld16[i].s_name+pr_strings-stringadjust, -1, fld16[i].ofs);
|
||||
}
|
||||
|
||||
break;
|
||||
|
@ -2715,7 +2715,7 @@ retry:
|
|||
else
|
||||
type = pr_fielddefs32[i].type & ~(DEF_SHARED|DEF_SAVEGLOBAL);
|
||||
if (type != ev_vector)
|
||||
QC_RegisterFieldVar(progfuncs, type, pr_fielddefs32[i].s_name+pr_strings, -1, pr_fielddefs32[i].ofs);
|
||||
QC_RegisterFieldVar(progfuncs, type, pr_fielddefs32[i].s_name+pr_strings-stringadjust, -1, pr_fielddefs32[i].ofs);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue