mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 17:11:32 +00:00
Merge branch 'master' into blub/parser
This commit is contained in:
commit
067294a470
1 changed files with 1 additions and 1 deletions
2
ast.c
2
ast.c
|
@ -315,7 +315,7 @@ ast_member* ast_member_new(lex_ctx ctx, ast_expression *owner, unsigned int fiel
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (owner->expression.vtype != TYPE_FLOAT &&
|
||||
if (owner->expression.vtype != TYPE_VECTOR &&
|
||||
owner->expression.vtype != TYPE_FIELD) {
|
||||
printf("ast_member on an invalid owner of type %i\n", (int)owner->expression.vtype);
|
||||
mem_d(self);
|
||||
|
|
Loading…
Reference in a new issue