]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - test.c
not needed yet
[xonotic/gmqcc.git] / test.c
diff --git a/test.c b/test.c
index d49575cd93e747043e90a196decc7798c1f4f412..8751fd5798196225ecd0002786946da082184403 100644 (file)
--- a/test.c
+++ b/test.c
@@ -694,6 +694,7 @@ static bool task_propagate(const char *curdir, size_t *pad, const char *defs) {
             char            *qcflags = NULL;
             task_t           task;
 
+            task.compiled = false;
             util_debug("TEST", "compiling task template: %s/%s\n", curdir, files->d_name);
             found ++;
             if (!tmpl) {
@@ -706,7 +707,7 @@ static bool task_propagate(const char *curdir, size_t *pad, const char *defs) {
              * so we don't trample over an existing one.
              */
             tmpl->tempfilename = NULL;
-            util_asprintf(&tmpl->tempfilename, "%s/TMPDAT.%s", curdir, files->d_name);
+            util_asprintf(&tmpl->tempfilename, "%s/TMPDAT.%s.dat", curdir, files->d_name);
 
             /*
              * Additional QCFLAGS enviroment variable may be used