mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Fix Variant vector2/vecotor3 multiply bug
This commit is contained in:
parent
e20e3c9525
commit
6e1e66878c
@ -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 New Issue
Block a user