From: Wolfgang (Blub) Bumiller Date: Mon, 12 Nov 2012 22:05:44 +0000 (+0100) Subject: array-field setter needs to use STOREP* X-Git-Tag: 0.1~19^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dbdcdb059e23ae16ff886764cf2ce33dbf4900f2;p=xonotic%2Fgmqcc.git array-field setter needs to use STOREP* --- diff --git a/parser.c b/parser.c index 0fff1d9..b81d06c 100644 --- a/parser.c +++ b/parser.c @@ -2344,10 +2344,10 @@ static ast_expression *array_field_setter_node( ast_return *ret; ast_entfield *entfield; ast_array_index *subscript; - int assignop = type_store_instr[value->expression.vtype]; + int assignop = type_storep_instr[value->expression.vtype]; if (value->expression.vtype == TYPE_FIELD && value->expression.next->expression.vtype == TYPE_VECTOR) - assignop = INSTR_STORE_V; + assignop = INSTR_STOREP_V; subscript = ast_array_index_new(ctx, (ast_expression*)array, (ast_expression*)parser_const_float(parser, from)); if (!subscript)