Nazara/Lua: Fix my dumb ass
This commit is contained in:
parent
dac4f7806a
commit
c668d02747
|
|
@ -196,6 +196,7 @@ Nazara Engine:
|
|||
- StackArray and StackVector now have a default constructor initializing them with no size/capacity
|
||||
- StackArray and StackVector are now movable
|
||||
- Fixed RigidBody2D::Copy not copying kinematic/dynamic/static status
|
||||
- Fixed out-of-bounds access in LuaInstance::LoadLibraries
|
||||
|
||||
Nazara Development Kit:
|
||||
- Added ImageWidget (#139)
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ namespace Nz
|
|||
void LuaInstance::LoadLibraries(LuaLibFlags libFlags)
|
||||
{
|
||||
// From luaL_openlibs
|
||||
std::array<luaL_Reg, LuaLib_Max + 1> libs;
|
||||
std::array<luaL_Reg, LuaLib_Max + 1 + 1> libs;
|
||||
std::size_t libCount = 0;
|
||||
|
||||
libs[libCount++] = { "_G", luaopen_base };
|
||||
|
|
|
|||
Loading…
Reference in New Issue