]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
*sigh*
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 18 Dec 2012 12:13:54 +0000 (13:13 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 18 Dec 2012 12:13:54 +0000 (13:13 +0100)
ir.c

diff --git a/ir.c b/ir.c
index 458d2cfe4723119f3bef90e9466df41f88835658..6bc766c7dd7a47e0af8f2525341e488b1be2fe18 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -3186,7 +3186,7 @@ static void gen_vector_fields(prog_section_field fld, const char *name)
     if (!name || OPTS_FLAG(SINGLE_VECTOR_DEFS))
         return;
 
-    def.type = TYPE_FLOAT;
+    fld.type = TYPE_FLOAT;
 
     len = strlen(name);