diff options
author | Max Horn | 2007-09-11 09:19:23 +0000 |
---|---|---|
committer | Max Horn | 2007-09-11 09:19:23 +0000 |
commit | 4a4fc235f22351331c7c5f33b83303d84622641b (patch) | |
tree | 140da6f028e17bb5f2bc0a937cbcddc8b469b550 /engines/saga/actor.cpp | |
parent | 669309776a4318a331e5007eb7bd19c8a18b5819 (diff) | |
download | scummvm-rg350-4a4fc235f22351331c7c5f33b83303d84622641b.tar.gz scummvm-rg350-4a4fc235f22351331c7c5f33b83303d84622641b.tar.bz2 scummvm-rg350-4a4fc235f22351331c7c5f33b83303d84622641b.zip |
Change SAGA engine to properly use KeyState structs for handling keyboard input
svn-id: r28889
Diffstat (limited to 'engines/saga/actor.cpp')
-rw-r--r-- | engines/saga/actor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp index 41e4ce7b47..dc30d8567a 100644 --- a/engines/saga/actor.cpp +++ b/engines/saga/actor.cpp @@ -2014,6 +2014,8 @@ bool Actor::followProtagonist(ActorData *actor) { newLocation.y += _vm->_rnd.getRandomNumber(prefer1.y - 1) - prefer1.y / 2; } + // FIXME: Fingolfin asks: why is there a FIXME here? Please either clarify what + // needs fixing, or remove it! newLocation.x = clamp(-31*4, newLocation.x, (_vm->getDisplayWidth() + 31) * 4); //fixme return actorWalkTo(actor->_id, newLocation); |