aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-04-03 23:10:17 +0000
committerMax Horn2005-04-03 23:10:17 +0000
commit398aa1a8b122bf020d158988a7576a6236e2c1a1 (patch)
tree7006319659ac27ca324066dd649211ebb9c34fb1
parent5f880737c587fffc4aaa3295e7aace8dc774b70d (diff)
downloadscummvm-rg350-398aa1a8b122bf020d158988a7576a6236e2c1a1.tar.gz
scummvm-rg350-398aa1a8b122bf020d158988a7576a6236e2c1a1.tar.bz2
scummvm-rg350-398aa1a8b122bf020d158988a7576a6236e2c1a1.zip
loadCharset gets overloaded for small header games, so no need to check for those in here
svn-id: r17365
-rw-r--r--scumm/resource.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index f5bbf7d04b..c7d26ebf30 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -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];