Reverted Box2D errors back to asserts, because love's exceptions provided even less info

This commit is contained in:
Bart van Strien
2010-09-23 20:16:45 +02:00
parent d942ff3315
commit 9c5c86325a
@@ -19,13 +19,13 @@
#ifndef B2_SETTINGS_H
#define B2_SETTINGS_H
//#include <assert.h>
#include <common/Exception.h>
#include <assert.h>
//#include <common/Exception.h>
#include <cmath>
#define B2_NOT_USED(x) x
//#define b2Assert(A) assert(A)
#define b2Assert(A) {if(!(A)) throw love::Exception("Box2D error: " #A);}
#define b2Assert(A) assert(A)
//#define b2Assert(A) {if(!(A)) throw love::Exception("Box2D error: " #A);}
// need to include NDS jtypes.h instead of