diff options
author | Paul Gilbert | 2015-02-26 21:35:45 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-26 21:35:45 -0500 |
commit | 349ad82f93f44f521c8023dd88e962d4835be98b (patch) | |
tree | 214422532ab3b66b8bb2e78ee7d0ababfce9304a /engines | |
parent | dc7e4153d4fb7de1d8e2241fe9b836e4680cf650 (diff) | |
download | scummvm-rg350-349ad82f93f44f521c8023dd88e962d4835be98b.tar.gz scummvm-rg350-349ad82f93f44f521c8023dd88e962d4835be98b.tar.bz2 scummvm-rg350-349ad82f93f44f521c8023dd88e962d4835be98b.zip |
XEEN: Fix moving backwards
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp index 01cd494eff..de4137ebd6 100644 --- a/engines/xeen/interface.cpp +++ b/engines/xeen/interface.cpp @@ -920,7 +920,7 @@ bool Interface::checkMoveDirection(int key) { (Direction)(party._mazeDirection + 1); break; case Common::KEYCODE_DOWN: - party._mazeDirection = (party._mazeDirection == DIR_NORTH) ? DIR_SOUTH : DIR_NORTH; + party._mazeDirection = (Direction)((int)party._mazeDirection ^ 2); break; default: break; |