aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-03-16 03:01:12 +0000
committerTravis Howell2005-03-16 03:01:12 +0000
commitdd71f57aeb2d921e89d4409a2548bddc4280a2d3 (patch)
tree2d425bbf1c5cae2d9211cef9e2297852adf96f5d
parenta827bb1c050ef6ca31a3e0bb80044c5ce3e55f00 (diff)
downloadscummvm-rg350-dd71f57aeb2d921e89d4409a2548bddc4280a2d3.tar.gz
scummvm-rg350-dd71f57aeb2d921e89d4409a2548bddc4280a2d3.tar.bz2
scummvm-rg350-dd71f57aeb2d921e89d4409a2548bddc4280a2d3.zip
Actor position fix for NES maniac, from Quietust
svn-id: r17163
-rw-r--r--scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 9056b376aa..5d03fa119c 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1012,7 +1012,7 @@ void Actor::drawActorCostume(bool hitTestMode) {
bcr->_actorX = _pos.x + _offsX - _vm->virtscr[0].xstart;
bcr->_actorY = _pos.y + _offsY - _elevation;
- if (_vm->_version <= 2) {
+ if ((_vm->_version <= 2) && !(_vm->_features & GF_NES)) {
// HACK: We have to adjust the x position by one strip (8 pixels) in
// V2 games. However, it is not quite clear to me why. And to fully
// match the original, it seems we have to offset by 2 strips if the