From 1e7b1ec86f8a7157acf4870feec5bac99cc3c362 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 25 Sep 2023 13:48:50 +0900 Subject: [PATCH] [qfcc] Fix vector component symbols The removal of the e tag from expr_t necessitated making convert_name return a new expressions which resulted in get_type no longer being enough to both convert a name expression and get the type. This was just another missed spot. With this, all of game-source except ctf builds. --- tools/qfcc/source/expr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index d703c415b..4c3dc1f1f 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -1637,6 +1637,7 @@ field_expr (expr_t *e1, expr_t *e2) e->expr.type = field->type; return e; } else { + e2 = convert_name (e2); t2 = get_type (e2); if (e2->type == ex_error) return e2;