mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-24 19:42:33 +00:00
Fix alias type check
This commit is contained in:
parent
15b0555546
commit
d61c5d3b16
1 changed files with 1 additions and 1 deletions
2
parser.c
2
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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue