aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gnap')
-rw-r--r--engines/gnap/character.cpp20
1 files changed, 5 insertions, 15 deletions
diff --git a/engines/gnap/character.cpp b/engines/gnap/character.cpp
index 36d849acbf..56e520068d 100644
--- a/engines/gnap/character.cpp
+++ b/engines/gnap/character.cpp
@@ -402,22 +402,12 @@ int PlayerGnap::getSequenceId(int kind, Common::Point gridPos) {
case kGSMoan1:
if (gridPos.x > 0 && gridPos.y > 0) {
- if (_pos.y > gridPos.y) {
- if (_pos.x > gridPos.x) {
- sequenceId = 0x832;
- _idleFacing = kDirBottomLeft;
- } else {
- sequenceId = 0x7AA;
- _idleFacing = kDirBottomRight;
- }
+ if (_pos.x > gridPos.x) {
+ sequenceId = 0x832;
+ _idleFacing = kDirBottomLeft;
} else {
- if (_pos.x > gridPos.x) {
- sequenceId = 0x832;
- _idleFacing = kDirBottomLeft;
- } else {
- sequenceId = 0x7AA;
- _idleFacing = kDirBottomRight;
- }
+ sequenceId = 0x7AA;
+ _idleFacing = kDirBottomRight;
}
} else if (_idleFacing != kDirBottomRight && _idleFacing != kDirUpRight) {
sequenceId = 0x832;