mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCUMM: Add a TODO for the Trac#2826 old workaround
It's an old, known bug, but so far I haven't been able to locate an original release (or interpreter?) showing this issue. Maybe only the very first English releases had this issue? Owning a copy of the release showing this bug would help understanding what the original interpreters did there, and decide what Enhancement class should be used for it.
This commit is contained in:
1 parent
14a890cd78
commit
deab35bbbf
1 file changed
+5
@@ -170,6 +170,11 @@ int ScummEngine::getVerbEntrypoint(int obj, int entry) {
|
||||
|
||||
// WORKAROUND for bug #2826: Disallow pulling the rope if it's
|
||||
// already in the player's inventory.
|
||||
//
|
||||
// TODO: it would be nice to explore what the impacted original
|
||||
// interpreter did in this case, and decide which Enhancement
|
||||
// value we give to this, but so far, I couldn't locate an
|
||||
// original release (interpreter?) showing this issue. -dwa
|
||||
if (_game.id == GID_MONKEY2 && obj == 1047 && entry == 6 && whereIsObject(obj) == WIO_INVENTORY) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user