Ticket #6186: loom-doubleclick.diff

File loom-doubleclick.diff, 658 bytes (added by eriktorbjorn, 11 years ago)

Possible patch against current Git snapshot

  • engines/scumm/script.cpp

    diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
    index d8c4948..940f7e4 100644
    a b void ScummEngine::runInputScript(int clickArea, int val, int mode) {  
    13691369                uint32 time = _system->getMillis();
    13701370                args[2] = (time < _lastInputScriptTime + 500);  // 500 ms double click delay
    13711371                _lastInputScriptTime = time;
     1372        } else if (_game.id == GID_LOOM && _game.platform == Common::kPlatformMacintosh) {
     1373                uint32 time = _system->getMillis();
     1374                VAR(52) = (time < _lastInputScriptTime + 500);  // 500 ms double click delay
     1375                _lastInputScriptTime = time;
    13721376        }
    13731377
    13741378        if (verbScript)