loadCharset gets overloaded for small header games, so no need to check for those in here

svn-id: r17365
This commit is contained in:
Max Horn 2005-04-03 23:10:17 +00:00
parent 5f880737c5
commit 398aa1a8b1

View File

@ -584,10 +584,7 @@ void ScummEngine::loadCharset(int no) {
assert(no < (int)sizeof(_charsetData) / 16);
checkRange(_numCharsets - 1, 1, no, "Loading illegal charset %d");
// ensureResourceLoaded(rtCharset, no);
ptr = getResourceAddress(rtCharset, no);
if (_features & GF_SMALL_HEADER)
ptr -= 12;
for (i = 0; i < 15; i++) {
_charsetData[no][i + 1] = ptr[i + 14];