summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-11 22:00:06 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-11 22:00:06 +0300
commit0a9a03db742454d7410e80fa0e1a4b0c18a37da0 (patch)
tree7574e74cd8c82e373f3813d298ff5fac26456c15 /src/utils
parentc82a88a8fcb448ee1d16ce47bb3c67f72b252a93 (diff)
downloadmanaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.tar.gz
manaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.tar.bz2
manaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.tar.xz
manaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.zip
Add missing "assert" wors into alwaysReport macro.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/checkutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h
index 18f958d8d..b67c5d566 100644
--- a/src/utils/checkutils.h
+++ b/src/utils/checkutils.h
@@ -33,6 +33,7 @@
#define reportAlwaysReal(...) \
{ \
+ logger->log("Assert:"); \
logger->assertLog( \
__VA_ARGS__); \
reportLogStack(__FILE__, __LINE__, __func__); \
@@ -146,6 +147,7 @@
#define failAlways(...) \
{ \
+ logger->log("Assert:"); \
logger->assertLog( \
__VA_ARGS__); \
reportLogStack(__FILE__, __LINE__, __func__); \