]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_execprogram.h
-Added the callcount field to the mfunction_t structure.
[xonotic/darkplaces.git] / prvm_execprogram.h
index 0d2246ecefa70c435e502ce137537a067b02320d..499820ce079d5b31db4d435e705678b8bab756c2 100644 (file)
                                        PRVM_ERROR("NULL function in %s", PRVM_NAME);
 
                                newf = &prog->functions[OPA->function];
+                               newf->callcount++;
 
                                if (newf->first_statement < 0)
                                {