From ad1cfcfeaab754b3a7d34a152b0d334f7f040239 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 19 Nov 2016 10:42:33 +0000 Subject: [PATCH] Fix ent.vec.{x,y,z} writes --- ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.cpp b/ir.cpp index 7ac8477..76d9db3 100644 --- a/ir.cpp +++ b/ir.cpp @@ -914,7 +914,7 @@ ir_value* ir_value::vectorMember(unsigned int member) m = new ir_value(move(name), m_store, TYPE_FIELD); if (!m) return nullptr; - m->m_fieldtype = TYPE_FLOAT; + m->m_fieldtype = TYPE_VECTOR; m->m_context = m_context; m_members[member] = m; -- 2.39.2