aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-02-11 03:21:21 +0000
committerTravis Howell2004-02-11 03:21:21 +0000
commit054edc1591a26eb178f7befb30d0cb8f3979c6ba (patch)
tree434822ad2dae68771bb20af2c0cad12614ca4253 /scumm/resource.cpp
parente69c822c28e88f8f9c0cb8ba4125c870e47176ed (diff)
downloadscummvm-rg350-054edc1591a26eb178f7befb30d0cb8f3979c6ba.tar.gz
scummvm-rg350-054edc1591a26eb178f7befb30d0cb8f3979c6ba.tar.bz2
scummvm-rg350-054edc1591a26eb178f7befb30d0cb8f3979c6ba.zip
Hack no longer required.
Add stub for HE games. svn-id: r12818
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 541e8a99ff..d2784d59c4 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -1804,13 +1804,6 @@ void ScummEngine::nukeResource(int type, int idx) {
if (!res.address[type])
return;
- // FIXME hack around insanely high string resource idx's
- if ((_features & GF_HUMONGOUS) && (type == 7 && idx > res.num[7])) {
- warning("nukeResource: type %d index %d > max %d", type, idx,
- res.num[7]);
- return;
- }
-
assert(idx >= 0 && idx < res.num[type]);
if ((ptr = res.address[type][idx]) != NULL) {