aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authorStrangerke2014-01-03 08:06:22 +0100
committerStrangerke2014-01-03 08:06:22 +0100
commitc091afa297343ae5d0037fc91fad7f07a03ab333 (patch)
tree7ba3d91eb6a5ea5263050aedef759c9ec3089010 /engines/avalanche
parentea52bcd28218cf8d9e3e81c4d7993372e4644aeb (diff)
downloadscummvm-rg350-c091afa297343ae5d0037fc91fad7f07a03ab333.tar.gz
scummvm-rg350-c091afa297343ae5d0037fc91fad7f07a03ab333.tar.bz2
scummvm-rg350-c091afa297343ae5d0037fc91fad7f07a03ab333.zip
AVALANCHE: Move direction reset to Animation::resetVariables()
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/animation.cpp1
-rw-r--r--engines/avalanche/avalot.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/animation.cpp b/engines/avalanche/animation.cpp
index cef4088722..66097b2812 100644
--- a/engines/avalanche/animation.cpp
+++ b/engines/avalanche/animation.cpp
@@ -1433,6 +1433,7 @@ int Animation::getAvvyClothes() {
}
void Animation::resetVariables() {
+ setDirection(kDirUp);
_geidaSpin = 0;
_geidaTime = 0;
_arrowTriggered = false;
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index ec3f81e55d..52ba3b2189 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -1410,7 +1410,6 @@ Common::String AvalancheEngine::intToStr(int32 num) {
}
void AvalancheEngine::resetVariables() {
- _animation->setDirection(kDirUp);
_carryNum = 0;
for (int i = 0; i < kObjectNum; i++)
_objects[i] = false;