Commits

Bart van Strien  committed a66afb2

Add an ASSERT_GUARD for World:update, catching any errors occuring there

  • Participants
  • Parent commits f3e7481

Comments (0)

Files changed (1)

File src/modules/physics/box2d/wrap_World.cpp

 {
 	World *t = luax_checkworld(L, 1);
 	float dt = (float)luaL_checknumber(L, 2);
-	t->update(dt);
+	ASSERT_GUARD(t->update(dt);)
 	return 0;
 }