aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/timer.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-23 23:16:57 +0200
committerStrangerke2013-09-23 23:16:57 +0200
commitcbe9c151aa305e929527a1dd81d34e7c818ae128 (patch)
treecea840ccb35e4b9a0a3d063da45405682ae02fb4 /engines/avalanche/timer.cpp
parent02caaa573539bcd0760a47ecfd3c24c813568cc0 (diff)
downloadscummvm-rg350-cbe9c151aa305e929527a1dd81d34e7c818ae128.tar.gz
scummvm-rg350-cbe9c151aa305e929527a1dd81d34e7c818ae128.tar.bz2
scummvm-rg350-cbe9c151aa305e929527a1dd81d34e7c818ae128.zip
AVALANCHE: Refactor some variables. This breaks savegame compatibility
Diffstat (limited to 'engines/avalanche/timer.cpp')
-rw-r--r--engines/avalanche/timer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/avalanche/timer.cpp b/engines/avalanche/timer.cpp
index 081f7a314b..1fc69a278b 100644
--- a/engines/avalanche/timer.cpp
+++ b/engines/avalanche/timer.cpp
@@ -248,7 +248,7 @@ void Timer::avariciusTalks() {
}
void Timer::urinate() {
- _vm->_animation->_sprites[0].turn(Animation::kDirUp);
+ _vm->_animation->_sprites[0].turn(kDirUp);
_vm->_animation->stopWalking();
_vm->_avalot->drawDirection();
addTimer(14, kProcToilet, kReasonGoToToilet);
@@ -558,7 +558,7 @@ void Timer::meetAvaroid() {
addTimer(1, kProcRiseUpOubliette, kReasonRisingUpOubliette);
AnimationType *avvy = &_vm->_animation->_sprites[0];
- avvy->_facingDir = Animation::kDirLeft;
+ avvy->_facingDir = kDirLeft;
avvy->_x = 151;
avvy->_moveX = -3;
avvy->_moveY = -5;
@@ -586,7 +586,7 @@ void Timer::robinHoodAndGeida() {
AnimationType *spr = &_vm->_animation->_sprites[1];
spr->stopWalk();
- spr->_facingDir = Animation::kDirLeft;
+ spr->_facingDir = kDirLeft;
addTimer(20, kProcRobinHoodAndGeidaTalk, kReasonRobinHoodAndGeida);
_vm->_avalot->_geidaFollows = false;
}