SCUMM: Keep the security door closed by default in Maniac Mansion NES

There was no copy protection on NES, since it was on a cartridge.
One just needs to open the security door like a regular door, with its
dramatic sound effect.

This also lets one close the door again, like in the original game.
This commit is contained in:
Donovan Watteau 2022-05-21 13:43:58 +02:00 committed by Filippos Karapetis
parent 59eac07550
commit 80dd45ee62

View file

@ -307,7 +307,7 @@ int ScummEngine::getState(int obj) {
// it. Fortunately this does not prevent frustrated players from
// blowing up the mansion, should they feel the urge to.
if (_game.id == GID_MANIAC && _game.version != 0 && (obj == 182 || obj == 193))
if (_game.id == GID_MANIAC && _game.version != 0 && _game.platform != Common::kPlatformNES && (obj == 182 || obj == 193))
_objectStateTable[obj] |= kObjectState_08;
}