]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
apply the typemask where previously forgotten
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 11 Nov 2012 22:39:40 +0000 (23:39 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 11 Nov 2012 22:39:40 +0000 (23:39 +0100)
exec.c

diff --git a/exec.c b/exec.c
index 060660a497e9208062615d12fc6d375a84066bda..508bdbf857fa0e82be8c81256d3cedaae4cf5260 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -375,7 +375,7 @@ static void trace_print_global(qc_program *prog, unsigned int glob, int vtype)
             len = printf("$");
         else
             len = printf("%s ", name);
-        vtype = def->type;
+        vtype = def->type & DEF_TYPEMASK;
     }
     else
         len = printf("[@%u] ", glob);