Fix Variant vector2/vecotor3 multiply bug
This commit is contained in:
parent
e20e3c9525
commit
6e1e66878c
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@ case m_name: {\
|
|||
case BOOL: _RETURN( p_a._data.m_type m_op p_b._data._bool);\
|
||||
case INT: _RETURN( p_a._data.m_type m_op p_b._data._int);\
|
||||
case REAL: _RETURN( p_a._data.m_type m_op p_b._data._real);\
|
||||
case VECTOR2: _RETURN( p_a._data.m_type m_op *reinterpret_cast<const Vector2*>(p_a._data._mem));\
|
||||
case VECTOR3: _RETURN( p_a._data.m_type m_op *reinterpret_cast<const Vector3*>(p_a._data._mem));\
|
||||
case VECTOR2: _RETURN( p_a._data.m_type m_op *reinterpret_cast<const Vector2*>(p_b._data._mem));\
|
||||
case VECTOR3: _RETURN( p_a._data.m_type m_op *reinterpret_cast<const Vector3*>(p_b._data._mem));\
|
||||
default: {}\
|
||||
}\
|
||||
r_valid=false;\
|
||||
|
|
Loading…
Reference in a new issue