Sdk/LuaBinding: Fix issues with optimisation
Former-commit-id: 5bc419c9e35055810f162501cb3f465e737739c2
This commit is contained in:
@@ -172,7 +172,7 @@ namespace Ndk
|
||||
}
|
||||
|
||||
case 2:
|
||||
Nz::PlacementNew(quaternion, lua.CheckNumber(1), *(*static_cast<Nz::Vector3d**>(lua.CheckUserdata(2, "Vector3"))));
|
||||
Nz::PlacementNew(quaternion, lua.CheckNumber(1), *static_cast<Nz::Vector3d*>(lua.CheckUserdata(2, "Vector3")));
|
||||
return true;
|
||||
|
||||
case 4:
|
||||
|
||||
Reference in New Issue
Block a user