[qfcc] Really get vecaddr.r working on both ISAs

Deliberately defeating an optimiser is not so easy (but I really needed
that variable to be set).
This commit is contained in:
Bill Currie 2022-01-30 20:01:32 +09:00
parent e1a0c31e3f
commit b8df11b2cb

View file

@ -17,7 +17,8 @@ float foo (vector _v, float _z)
vector v = _v; vector v = _v;
float z = _z; float z = _z;
_v = nil; _v = nil;
_z = _z - _z; _z = 0;
forcelive (_z);
forcelive (z); forcelive (z);
return (v dot *(vector*)(&v.y))X; return (v dot *(vector*)(&v.y))X;
} }