summaryrefslogtreecommitdiffstats
path: root/source/Defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Defines.h')
-rw-r--r--source/Defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Defines.h b/source/Defines.h
index 4c6aef8cd..74a8c7b5c 100644
--- a/source/Defines.h
+++ b/source/Defines.h
@@ -132,6 +132,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo
default:
{
LOGWARNING("AddDirection(): Unknown direction: %d", a_Direction);
+ ASSERT(!"AddDirection(): Unknown direction");
break;
}
}
@@ -149,6 +150,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo
default:
{
LOGWARNING("AddDirection(): Unknown inv direction: %d", a_Direction);
+ ASSERT(!"AddDirection(): Unknown direction");
break;
}
}