summaryrefslogtreecommitdiff
path: root/src/code/sys_matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/sys_matrix.c')
-rw-r--r--src/code/sys_matrix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/code/sys_matrix.c b/src/code/sys_matrix.c
index ca1a3924f..6427ccbb9 100644
--- a/src/code/sys_matrix.c
+++ b/src/code/sys_matrix.c
@@ -31,9 +31,7 @@ void Matrix_Push(void) {
void Matrix_Pop(void) {
sCurrentMatrix--;
- if (sCurrentMatrix < sMatrixStack) {
- __assert("Matrix_now >= Matrix_stack", "../sys_matrix.c", 176);
- }
+ ASSERT(sCurrentMatrix >= sMatrixStack, "Matrix_now >= Matrix_stack", "../sys_matrix.c", 176);
}
void Matrix_Get(MtxF* dest) {