Ticket #4669: Bodged-Fix.patch

File Bodged-Fix.patch, 725 bytes (added by digitall, 8 years ago)

Initial Bodge Fix (Help To Trace Root Cause)

  • engines/parallaction/parallaction.cpp

    diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
    index a37c443..ba6ee04 100644
    a b bool Parallaction::checkZoneBox(ZonePtr z, uint32 type, uint x, uint y) {  
    683683                return false;
    684684
    685685        debugC(5, kDebugExec, "checkZoneBox for %s (type = %x, x = %i, y = %i)", z->_name, type, x, y);
     686        if(_gameType == GType_Nippon && !strcmp(_locationNames[_currentLocationIndex], "piazzale2")&& !strcmp(z->_name, "piazzale")) {
     687                debug(1, "ZONEBOX piazzale disabled in location piazzale2!");
     688                return false;
     689        }
    686690
    687691        if (!z->hitRect(x, y)) {
    688692                // check for special zones (items defined in common.loc)