summaryrefslogtreecommitdiff
path: root/src/common/error.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-08-03 19:51:46 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-08-03 19:51:46 +0400
commit92101f85480cdf6cffabaf9f68048d37c8c97e55 (patch)
treeb613d1ae3d46bb5181359f74e62f04edd068e9ed /src/common/error.c
parent1ace24c87aaf0b49e342a2c3e1f9aa15f21d48dc (diff)
Don't crash when image/model/sound tables overflow.
Print an error message instead. Also double model table size.
Diffstat (limited to 'src/common/error.c')
-rw-r--r--src/common/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/error.c b/src/common/error.c
index 3802e1b..84a8c3a 100644
--- a/src/common/error.c
+++ b/src/common/error.c
@@ -38,6 +38,7 @@ static const char *const error_table[] = {
"Runaway loop avoided",
"Infinite loop avoided",
"Library error",
+ "Out of slots",
#if USE_ZLIB
"Inflate failed",
"Deflate failed",