]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - exec.c
Replacing execloop.h ... wish I could just use a copy of DP's execloop, I hate licenses
[xonotic/gmqcc.git] / exec.c
diff --git a/exec.c b/exec.c
index 94e32a4a61ea760afb006fd327fa37fefa69da0f..e2bcc5245b75adcc4f0249c3fc6f83f391c4e1b6 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -36,9 +36,12 @@ static void loaderror(const char *fmt, ...)
     printf(": %s\n", strerror(err));
 }
 
-static void printvmerr(const char *fmt, ...)
+static void qcvmerror(qc_program *prog, const char *fmt, ...)
 {
     va_list ap;
+
+    prog->vmerror++;
+
     va_start(ap, fmt);
     vprintf(fmt, ap);
     va_end(ap);