fix member binops on entity fields to generate STOREP, this fixes stuff like ent...
[xonotic/gmqcc.git] / tests / memberbinop.qc
1 .vector k;
2
3 void t(entity e)
4 {
5     e.k = '0 0 0';
6     e.k.x += 2;
7     e.k.y += 4;
8     e.k.z += 6;
9 }
10
11 void main() {
12     entity e = spawn();
13     t(e);
14     print(vtos(e.k));
15 }