From c091afa297343ae5d0037fc91fad7f07a03ab333 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 3 Jan 2014 08:06:22 +0100 Subject: AVALANCHE: Move direction reset to Animation::resetVariables() --- engines/avalanche/animation.cpp | 1 + engines/avalanche/avalot.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/avalanche') 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; -- cgit v1.2.3