mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Restore vector type check (#14663)
This commit is contained in:
parent
c4703a7f19
commit
8972e829f2
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ extern "C" {
|
|||
*/
|
||||
static void read_v3_aux(lua_State *L, int index)
|
||||
{
|
||||
CHECK_POS_TAB(index);
|
||||
lua_pushvalue(L, index);
|
||||
lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_READ_VECTOR);
|
||||
lua_insert(L, -2);
|
||||
|
|
Loading…
Add table
Reference in a new issue