diff options
author | Andrey Nazarov <skuller@skuller.net> | 2012-08-03 19:51:46 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2012-08-03 19:51:46 +0400 |
commit | 92101f85480cdf6cffabaf9f68048d37c8c97e55 (patch) | |
tree | b613d1ae3d46bb5181359f74e62f04edd068e9ed /src/common/error.c | |
parent | 1ace24c87aaf0b49e342a2c3e1f9aa15f21d48dc (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.c | 1 |
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", |