aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm_local.h
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-03-24 21:20:55 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-03-24 21:20:55 +0000
commit07e86d96ebda4c67d32997bdba667af58023fcea (patch)
tree9f7097a58384fb58cc7b19cfded69c66f10a83b6 /code/qcommon/vm_local.h
parent000148b66c80c177a2491bfc8b979415166d1e75 (diff)
downloadioquake3-aero-07e86d96ebda4c67d32997bdba667af58023fcea.tar.gz
ioquake3-aero-07e86d96ebda4c67d32997bdba667af58023fcea.zip
use vm->callLevel to count recursive calls to VM_Call
Throw an error if vm->callLevel is set and VM_Free is called. git-svn-id: svn://svn.icculus.org/quake3/trunk@1274 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/vm_local.h')
-rw-r--r--code/qcommon/vm_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/vm_local.h b/code/qcommon/vm_local.h
index 8e81b36..d7e3f41 100644
--- a/code/qcommon/vm_local.h
+++ b/code/qcommon/vm_local.h
@@ -156,7 +156,7 @@ struct vm_s {
int numSymbols;
struct vmSymbol_s *symbols;
- int callLevel; // for debug indenting
+ int callLevel; // counts recursive VM_Call
int breakFunction; // increment breakCount on function entry to this
int breakCount;