Browse Source

Fixed Shape:testSegment.

rude 16 years ago
parent
commit
b3bd3427a5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/physics/box2d/wrap_Shape.cpp

+ 1 - 0
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);
 	}