From: Wolfgang Bumiller Date: Sat, 19 Nov 2016 15:22:13 +0000 (+0100) Subject: Revert "Fix ent.vec.{x,y,z} writes" X-Git-Tag: xonotic-v0.8.5~58 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c48bae203c332ad51367ddc3d89681ef5eb0169;p=xonotic%2Fgmqcc.git Revert "Fix ent.vec.{x,y,z} writes" This reverts commit ad1cfcfeaab754b3a7d34a152b0d334f7f040239. --- diff --git a/ir.cpp b/ir.cpp index 76d9db3..7ac8477 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_VECTOR; + m->m_fieldtype = TYPE_FLOAT; m->m_context = m_context; m_members[member] = m;