diff options
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r-- | scumm/script_v7he.cpp | 3 |
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; |