From b3bd3427a5d4c4a8f27124ca5ab637365f4357a3 Mon Sep 17 00:00:00 2001 From: rude Date: Sat, 31 Oct 2009 00:15:13 +0100 Subject: [PATCH] Fixed Shape:testSegment. --- src/modules/physics/box2d/wrap_Shape.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/physics/box2d/wrap_Shape.cpp b/src/modules/physics/box2d/wrap_Shape.cpp index d7ff5bb02..92e6a43fd 100644 --- a/src/modules/physics/box2d/wrap_Shape.cpp +++ b/src/modules/physics/box2d/wrap_Shape.cpp @@ -123,6 +123,7 @@ namespace box2d int w_Shape_testSegment(lua_State * L) { Shape * t = luax_checkshape(L, 1); + lua_remove(L, 1); return t->testSegment(L); }