Bumped nugget version
This commit is contained in:
BIN
output.bin
BIN
output.bin
Binary file not shown.
@@ -45,9 +45,11 @@ static int gameobjectSetPosition(psyqo::Lua L) {
|
|||||||
psyqo::FixedPoint<> x(L.toNumber(3), psyqo::FixedPoint<>::RAW);
|
psyqo::FixedPoint<> x(L.toNumber(3), psyqo::FixedPoint<>::RAW);
|
||||||
go->position.x = x;
|
go->position.x = x;
|
||||||
L.pop();
|
L.pop();
|
||||||
|
L.getField(2, "y");
|
||||||
psyqo::FixedPoint<> y(L.toNumber(3), psyqo::FixedPoint<>::RAW);
|
psyqo::FixedPoint<> y(L.toNumber(3), psyqo::FixedPoint<>::RAW);
|
||||||
go->position.y = y;
|
go->position.y = y;
|
||||||
L.pop();
|
L.pop();
|
||||||
|
L.getField(2, "z");
|
||||||
psyqo::FixedPoint<> z(L.toNumber(3), psyqo::FixedPoint<>::RAW);
|
psyqo::FixedPoint<> z(L.toNumber(3), psyqo::FixedPoint<>::RAW);
|
||||||
go->position.z = z;
|
go->position.z = z;
|
||||||
L.pop();
|
L.pop();
|
||||||
@@ -156,7 +158,7 @@ void psxsplash::Lua::CallOnCollide(GameObject* self, GameObject* other) {
|
|||||||
PushGameObject(self);
|
PushGameObject(self);
|
||||||
PushGameObject(other);
|
PushGameObject(other);
|
||||||
|
|
||||||
if (L.pcall(2, 0, errfunc) != LUA_OK) {
|
if (L.pcall(2, 0) != LUA_OK) {
|
||||||
printf("Lua error: %s\n", L.toString(-1));
|
printf("Lua error: %s\n", L.toString(-1));
|
||||||
L.pop();
|
L.pop();
|
||||||
}
|
}
|
||||||
|
|||||||
2
third_party/nugget
vendored
2
third_party/nugget
vendored
Submodule third_party/nugget updated: c18876727c...7ed81a19ce
Reference in New Issue
Block a user