From 979328ebdb1195fc7263c5ebea0e65531a472243 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 16 Feb 2013 18:48:55 +0100 Subject: HOPKINS: Introduce Directions enum --- engines/hopkins/globals.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'engines/hopkins/globals.cpp') diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index 06807b3940..dbd23709e6 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -103,9 +103,9 @@ Globals::Globals() { _linuxEndDemoFl = false; _speed = 1; _oldFrameIndex = 0; - _oldDirection = 0; + _oldDirection = DIR_NONE; _oldDirectionSpriteIdx = 59; - _lastDirection = 0; + _lastDirection = DIR_NONE; NUM_FICHIER_OBJ = 0; nbrligne = 0; _boxWidth = 0; @@ -177,7 +177,6 @@ Globals::Globals() { _oldMouseY = 0; compteur_71 = 0; _forceHideText = false; - j_104 = 0; } Globals::~Globals() { @@ -284,7 +283,7 @@ void Globals::loadCharacterData() { } _oldFrameIndex = -1; - _oldDirection = -1; + _oldDirection = DIR_NONE; } void Globals::INIT_ANIM() { -- cgit v1.2.3