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:
Donovan Watteau committed 2024-08-29 22:02:45 +02:00
1 parent 14a890cd78
commit deab35bbbf
1 file changed
+5
+5
View File
@@ -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;
}