aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-16 11:01:31 +0000
committerTravis Howell2005-04-16 11:01:31 +0000
commit58298999f349831f18a3a4d33dac97215cffa334 (patch)
treec8ddfd51d1740dd158d579741d6fb1ec6df02e53 /scumm/script_v7he.cpp
parent6e903f684ac6c5a2e7f4e54e1c3336a089f6c5b9 (diff)
downloadscummvm-rg350-58298999f349831f18a3a4d33dac97215cffa334.tar.gz
scummvm-rg350-58298999f349831f18a3a4d33dac97215cffa334.tar.bz2
scummvm-rg350-58298999f349831f18a3a4d33dac97215cffa334.zip
Error on all unknown compression types.
Remove some unused cases. svn-id: r17617
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index 7fa5154312..e9c99cd5ba 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -379,8 +379,7 @@ int ScummEngine_v70he::getStringCharWidth(byte chr) {
int charset = _string[0]._default.charset;
byte *ptr = getResourceAddress(rtCharset, charset);
- if (ptr == 0)
- error("getStringCharWidth::charset %d not found!", charset);
+ assert(ptr);
ptr += 29;
int spacing = 0;