summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Defines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Defines.h b/source/Defines.h
index 15c94c081..a5b70a1a5 100644
--- a/source/Defines.h
+++ b/source/Defines.h
@@ -130,7 +130,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo
case BLOCK_FACE_SOUTH: a_Z++; break;
default:
{
- ASSERT(!"Unknown direction");
+ LOGWARNING("AddDirection(): Unknown direction: %d", a_Direction);
break;
}
}
@@ -147,7 +147,7 @@ inline void AddDirection( int & a_X, int & a_Y, int & a_Z, char a_Direction, boo
case BLOCK_FACE_SOUTH: a_Z--; break;
default:
{
- ASSERT(!"Unknown direction");
+ LOGWARNING("AddDirection(): Unknown inv direction: %d", a_Direction);
break;
}
}