mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
don't set the request-Lvalue flag for an array index
This commit is contained in:
parent
0af62801f4
commit
d70fcdec42
1 changed files with 1 additions and 1 deletions
2
ast.c
2
ast.c
|
@ -2045,7 +2045,7 @@ bool ast_array_index_codegen(ast_array_index *self, ast_function *func, bool lva
|
|||
}
|
||||
|
||||
cgen = self->index->expression.codegen;
|
||||
if (!(*cgen)((ast_expression*)(self->index), func, true, &iridx))
|
||||
if (!(*cgen)((ast_expression*)(self->index), func, false, &iridx))
|
||||
return false;
|
||||
|
||||
cgen = arr->getter->expression.codegen;
|
||||
|
|
Loading…
Reference in a new issue