diff options
author | md5 | 2011-02-28 22:32:41 +0200 |
---|---|---|
committer | md5 | 2011-02-28 22:32:41 +0200 |
commit | 194081e7ae79a632ce446653cc7119b74d3a6fac (patch) | |
tree | e28b8afa3cc9cddf8c68070a037caab59cab31a7 /engines/sci/engine/kscripts.cpp | |
parent | 9fb1cbfc4ec4c826031de7a55015001a715bb550 (diff) | |
download | scummvm-rg350-194081e7ae79a632ce446653cc7119b74d3a6fac.tar.gz scummvm-rg350-194081e7ae79a632ce446653cc7119b74d3a6fac.tar.bz2 scummvm-rg350-194081e7ae79a632ce446653cc7119b74d3a6fac.zip |
SCI: Removed several workarounds which are no longer needed, after the changes regarding hunk pointers in r0d555c4
Diffstat (limited to 'engines/sci/engine/kscripts.cpp')
-rw-r--r-- | engines/sci/engine/kscripts.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp index 810e8a13ee..30c8b6a130 100644 --- a/engines/sci/engine/kscripts.cpp +++ b/engines/sci/engine/kscripts.cpp @@ -56,14 +56,6 @@ reg_t kUnLoad(EngineState *s, int argc, reg_t *argv) { ResourceType restype = g_sci->getResMan()->convertResType(argv[0].toUint16()); reg_t resnr = argv[1]; - // WORKAROUND for a broken script in room 320 in Castle of Dr. Brain. - // Script 377 tries to free the hunk memory allocated for the saved area - // (underbits) beneath the pop up window, which results in having the - // window stay on screen even when it's closed. Ignore this request here. - if (restype == kResourceTypeMemory && g_sci->getGameId() == GID_CASTLEBRAIN && - s->currentRoomNumber() == 320) - return s->r_acc; - if (restype == kResourceTypeMemory) s->_segMan->freeHunkEntry(resnr); } |