Bugfix for crash when computing rotation * vector.

ver1_5_1
Harald Schmidt 2004-01-02 15:41:24 +00:00
parent 64f246a100
commit 41b18028d1
1 changed files with 2 additions and 2 deletions

View File

@ -858,8 +858,8 @@ static int rotation_mult(lua_State* l)
else
if (istype(l, 1, _Rotation) && istype(l, 2, _Vec3))
{
v = to_vector(l, 1);
r1 = to_rotation(l, 2);
r1 = to_rotation(l, 1);
v = to_vector(l, 2);
rotation_new(l, *v * *r1);
}
else