]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
right... instead of checking for end_sys_globals twice, maybe ACTUALLY check for...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 21 Aug 2012 13:50:53 +0000 (15:50 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 21 Aug 2012 13:50:53 +0000 (15:50 +0200)
ir.c

diff --git a/ir.c b/ir.c
index 2261e884e8ca3db375438b717b04030aa3b612a6..28a81f9a435a222ad5a0963a418d6071682007e0 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -2638,7 +2638,7 @@ static bool ir_builder_gen_global(ir_builder *self, ir_value *global)
              * should be checksummed and added to progdefs.h when we generate it.
              */
         }
-        else if (!strcmp(global->name, "end_sys_globals")) {
+        else if (!strcmp(global->name, "end_sys_fields")) {
             /* TODO: same as above but for entity-fields rather than globsl
              */
         }