Selaa lähdekoodia

Fixed Shape:testSegment.

rude 16 vuotta sitten
vanhempi
commit
b3bd3427a5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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);
 	}