aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/kernel/common.h')
-rwxr-xr-xengines/sword25/kernel/common.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/engines/sword25/kernel/common.h b/engines/sword25/kernel/common.h
index 29e4a20e73..e9d35e4961 100755
--- a/engines/sword25/kernel/common.h
+++ b/engines/sword25/kernel/common.h
@@ -41,15 +41,6 @@
#include "memleaks.h"
#include "log.h"
-#ifdef DEBUG
-#define BS_ASSERT(EXP) \
- if (!(EXP)) \
- { \
- BS_Log::Log("!!ASSERTION FAILED!! - FILE: %s - LINE: %d.\n", __FILE__, __LINE__); \
- __asm { int 3 }; \
- }
-#else
-#define BS_ASSERT(EXP) do { (void)(EXP); } while(0)
-#endif
+#define BS_ASSERT(EXP) assert(EXP)
#endif