aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/animation.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-09 23:48:36 +0200
committerStrangerke2013-09-09 23:48:36 +0200
commit1cb0c0ec5ef639fe5ad083125db509ad32fdf738 (patch)
tree06def4e8a19b0b50329d4d7f5be14405a0ec7e78 /engines/avalanche/animation.cpp
parentbc64dcf276f15fe9bd808d087762e100fb7d931d (diff)
downloadscummvm-rg350-1cb0c0ec5ef639fe5ad083125db509ad32fdf738.tar.gz
scummvm-rg350-1cb0c0ec5ef639fe5ad083125db509ad32fdf738.tar.bz2
scummvm-rg350-1cb0c0ec5ef639fe5ad083125db509ad32fdf738.zip
AVALANCHE: harmonize the use of constants for kDir, kDirection, kVerbs
Diffstat (limited to 'engines/avalanche/animation.cpp')
-rw-r--r--engines/avalanche/animation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/avalanche/animation.cpp b/engines/avalanche/animation.cpp
index 747f014dfb..5bff12307b 100644
--- a/engines/avalanche/animation.cpp
+++ b/engines/avalanche/animation.cpp
@@ -322,14 +322,14 @@ void AnimationType::setSpeed(int8 xx, int8 yy) {
if (_moveX == 0) {
// No horz movement
if (_moveY < 0)
- turn(_anim->kDirUp);
+ turn(Animation::kDirUp);
else
- turn(_anim->kDirDown);
+ turn(Animation::kDirDown);
} else {
if (_moveX < 0)
- turn(_anim->kDirLeft);
+ turn(Animation::kDirLeft);
else
- turn(_anim->kDirRight);
+ turn(Animation::kDirRight);
}
}