aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/btfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/btfile.cpp')
-rw-r--r--engines/cge/btfile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/btfile.cpp b/engines/cge/btfile.cpp
index d5cdef1ba0..55511e6382 100644
--- a/engines/cge/btfile.cpp
+++ b/engines/cge/btfile.cpp
@@ -43,8 +43,7 @@ BtFile::BtFile(const char *name, IOMode mode, CRYPT *crpt)
_buff[i]._pgNo = kBtValNone;
_buff[i]._indx = -1;
_buff[i]._updt = false;
- if (_buff[i]._page == NULL)
- error("No core");
+ assert(_buff[i]._page != NULL);
}
}