mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix number * vector.
This commit is contained in:
parent
72009dd5be
commit
2317b0911f
1 changed files with 1 additions and 1 deletions
|
@ -1646,7 +1646,7 @@ static void luau_execute(lua_State* L)
|
|||
float vb = cast_to(float, nvalue(rb));
|
||||
const float* vc = rc->value.v;
|
||||
for (int i = 0; i < LUA_VECTOR_SIZE; i++)
|
||||
ra->value.v[i] = vb + vc[i];
|
||||
ra->value.v[i] = vb * vc[i];
|
||||
setttype(ra, LUA_TVECTOR);
|
||||
VM_NEXT();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue