From cdb7d06521b9ca855915dcda2918e25cdb2a8fbb Mon Sep 17 00:00:00 2001
From: "Wolfgang (Blub) Bumiller" <blub@speed.at>
Date: Sun, 11 Nov 2012 23:39:40 +0100
Subject: [PATCH] apply the typemask where previously forgotten

---
 exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec.c b/exec.c
index 060660a..508bdbf 100644
--- 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);
-- 
2.39.5