]> icculus.org git repositories - divverent/darkplaces.git/commit
changed handling of forbidden world writes - they are now only a
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Oct 2009 15:07:57 +0000 (15:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Oct 2009 15:07:57 +0000 (15:07 +0000)
commitc4d44b47444f564991cc836ea072e15b77314f93
tree1d28e56b246af184ab13dcbd3659a7ede93d65a2
parenteefb27dfd4bf6c2b5d951735d4f9ea9e989cc0d1
changed handling of forbidden world writes - they are now only a
warning, and still perform the actual write, additionally the check has
been moved from OP_ADDRESS to OP_STOREP_* and now prints what field is
being written
changed the nature of pointer fields (which are only written by
OP_ADDRESS and read by OP_STOREP_*) to use an index (like field offsets)
instead of a byte offset, this made it a little easier to print the
field offset on world write warnings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9339 d7cf8633-e32d-0410-b094-e92efae38249
prvm_exec.c
prvm_execprogram.h