diff options
author | Max Horn | 2003-05-16 23:54:58 +0000 |
---|---|---|
committer | Max Horn | 2003-05-16 23:54:58 +0000 |
commit | 3244a79d4675cc50b1e7b4ac05687a9acfcffaf1 (patch) | |
tree | 760ea665d50b34aa5d75f1e554ee73cc6cb46baf /scumm/scummvm.cpp | |
parent | 92a71eed1003368e70f2f4ffa3ac73120db06bd6 (diff) | |
download | scummvm-rg350-3244a79d4675cc50b1e7b4ac05687a9acfcffaf1.tar.gz scummvm-rg350-3244a79d4675cc50b1e7b4ac05687a9acfcffaf1.tar.bz2 scummvm-rg350-3244a79d4675cc50b1e7b4ac05687a9acfcffaf1.zip |
V2 camera fix (again thanks MadMoose)
svn-id: r7587
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r-- | scumm/scummvm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index f988ed0f89..15a007b24b 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -877,6 +877,8 @@ int Scumm::scummLoop(int delta) { if (_features & GF_AFTER_V7) { VAR(VAR_CAMERA_POS_X) = camera._cur.x; VAR(VAR_CAMERA_POS_Y) = camera._cur.y; + } else if (_features & GF_AFTER_V2) { + VAR(VAR_CAMERA_POS_X) = camera._cur.x / 8; } else { VAR(VAR_CAMERA_POS_X) = camera._cur.x; } |