diff options
author | Travis Howell | 2006-02-26 06:15:13 +0000 |
---|---|---|
committer | Travis Howell | 2006-02-26 06:15:13 +0000 |
commit | 270a16b37bf02a9537b0a1c619175db55e3eb3d1 (patch) | |
tree | 9746807f886db672589398c447f37fa3a996da07 | |
parent | 0f60eaa16646655bbd4493dea52477c60ad05ccb (diff) | |
download | scummvm-rg350-270a16b37bf02a9537b0a1c619175db55e3eb3d1.tar.gz scummvm-rg350-270a16b37bf02a9537b0a1c619175db55e3eb3d1.tar.bz2 scummvm-rg350-270a16b37bf02a9537b0a1c619175db55e3eb3d1.zip |
Camera variables are initialised on startup by COMI too
svn-id: r20906
-rw-r--r-- | engines/scumm/scumm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 2a91dce9c0..bf2dec9113 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1391,12 +1391,12 @@ void ScummEngine::scummInit() { _verbs[i].key = 0; } - if (_game.version == 7) { + if (_game.features & GF_NEW_CAMERA) { VAR(VAR_CAMERA_THRESHOLD_X) = 100; VAR(VAR_CAMERA_THRESHOLD_Y) = 70; VAR(VAR_CAMERA_ACCEL_X) = 100; VAR(VAR_CAMERA_ACCEL_Y) = 100; - } else if (!(_game.features & GF_NEW_CAMERA)) { + } else { if (_game.platform == Common::kPlatformNES) { camera._leftTrigger = 6; // 6 camera._rightTrigger = 21; // 25 |