From: Dale Weiler Date: Thu, 26 Sep 2013 12:09:55 +0000 (-0400) Subject: Fix alias type check X-Git-Tag: 0.3.5~73 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d61c5d3b16c55a0522629acb418d48c68be1efc2;p=xonotic%2Fgmqcc.git Fix alias type check --- diff --git a/parser.c b/parser.c index 839e089..bfc8be4 100644 --- a/parser.c +++ b/parser.c @@ -5308,7 +5308,7 @@ static bool parse_variable(parser_t *parser, ast_block *localblock, bool nofield return false; } - if (var->expression.vtype != find->vtype) { + if (!ast_compare_type((ast_expression*)var, find)) { char ty1[1024]; char ty2[1024];