diff options
author | Max Horn | 2003-03-02 15:51:56 +0000 |
---|---|---|
committer | Max Horn | 2003-03-02 15:51:56 +0000 |
commit | f6bac973f86ea3cf9f756cef7602a1decfc80d6b (patch) | |
tree | 765915eba45e7ed1cbb9a96efcfda618b64a6121 /scumm/actor.cpp | |
parent | 73fa5d7b3ab79b450ecd30a19ef8d29b5ccaf617 (diff) | |
download | scummvm-rg350-f6bac973f86ea3cf9f756cef7602a1decfc80d6b.tar.gz scummvm-rg350-f6bac973f86ea3cf9f756cef7602a1decfc80d6b.tar.bz2 scummvm-rg350-f6bac973f86ea3cf9f756cef7602a1decfc80d6b.zip |
patch #696030: CMI: More actor direction fixes
svn-id: r6662
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index e2ab510cf3..3556019d5b 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -112,7 +112,7 @@ void Actor::setActorWalkSpeed(uint newSpeedX, uint newSpeedY) int Scumm::getAngleFromPos(int x, int y) { - if (_gameId == GID_DIG) { + if (_gameId == GID_DIG || _gameId == GID_CMI) { double temp = atan2((double)x, (double)-y); return normalizeAngle((int)(temp * 180 / 3.1415926535)); } else { |