mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-12 14:55:34 +00:00
assignment to world now names a function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@403 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
53ffe9c50e
commit
98d6bf162d
1 changed files with 5 additions and 2 deletions
|
@ -390,7 +390,10 @@ reeval:
|
||||||
NUM_FOR_EDICT(ed); // make sure it's in range
|
NUM_FOR_EDICT(ed); // make sure it's in range
|
||||||
#endif
|
#endif
|
||||||
if (ed->readonly)
|
if (ed->readonly)
|
||||||
PR_RunError (progfuncs, "assignment to read-only entity");
|
{
|
||||||
|
pr_xstatement = st-pr_statements;
|
||||||
|
PR_RunError (progfuncs, "assignment to read-only entity in %s", pr_xfunction->s_name);
|
||||||
|
}
|
||||||
OPC->_int = (int)(((int *)edvars(ed)) + OPB->_int + progfuncs->fieldadjust);
|
OPC->_int = (int)(((int *)edvars(ed)) + OPB->_int + progfuncs->fieldadjust);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue