mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
SCUMM: Make correcting position of green tank in Sam & Max optional
This commit is contained in:
parent
4f8653e4f9
commit
52549c1678
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "common/system.h" // for setFocusRectangle/clearFocusRectangle
|
||||
#include "common/config-manager.h"
|
||||
#include "scumm/scumm.h"
|
||||
#include "scumm/actor.h"
|
||||
#include "scumm/actor_he.h"
|
||||
@ -1609,7 +1610,7 @@ void Actor::putActor(int dstX, int dstY, int newRoom) {
|
||||
// WORKAROUND: The green transparency of the tank in the Hall of Oddities
|
||||
// is positioned one pixel too far to the left. This appears to be a bug
|
||||
// in the original game as well.
|
||||
if (_vm->_game.id == GID_SAMNMAX && newRoom == 16 && _number == 5 && dstX == 235 && dstY == 236)
|
||||
if (_vm->_game.id == GID_SAMNMAX && newRoom == 16 && _number == 5 && dstX == 235 && dstY == 236 && ConfMan.getBool("enable_enhancements"))
|
||||
dstX++;
|
||||
|
||||
_pos.x = dstX;
|
||||
|
@ -229,7 +229,7 @@ const ExtraGuiOptions ScummMetaEngineDetection::getExtraGuiOptions(const Common:
|
||||
const Common::String guiOptions = parseGameGUIOptions(guiOptionsString);
|
||||
const Common::Platform platform = Common::parsePlatform(ConfMan.get("platform", target));
|
||||
|
||||
if (target.empty() || gameid == "monkey" || gameid == "monkey2") {
|
||||
if (target.empty() || gameid == "monkey" || gameid == "monkey2" || gameid == "samnmax") {
|
||||
options.push_back(enableEnhancements);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user