diff --git a/src/common/utility/vectors.h b/src/common/utility/vectors.h index e8c39fc28..2118a22fa 100644 --- a/src/common/utility/vectors.h +++ b/src/common/utility/vectors.h @@ -82,6 +82,11 @@ struct TVector2 { } + TVector2(vec_t *o) + : X(o[0]), Y(o[1]) + { + } + void Zero() { Y = X = 0;