From ec2feb4aeca0009a0b70a094565a0b464280a899 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 14 Jan 2013 08:04:38 +0100 Subject: HOPKINS: Rename old Direction fields --- engines/hopkins/globals.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/hopkins/globals.cpp') diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index b4a6d7953d..71f1c8711c 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -113,14 +113,14 @@ Globals::Globals() { for (int i = 0; i < 51; ++i) Common::fill((byte *)&_sortedDisplay[i], (byte *)&_sortedDisplay[i] + sizeof(SortItem), 0); - // Initialise fields + // Initialize fields _language = LANG_EN; PUBEXIT = false; _speed = 1; g_old_anim = 0; - g_old_sens = 0; - g_old_sens2 = 0; + _oldDirection = 0; + _oldDirectionSpriteIdx = 59; _lastDirection = 0; police_l = police_h = 0; TETE = NULL; @@ -374,7 +374,7 @@ void Globals::loadCharacterData() { } g_old_anim = -1; - g_old_sens = -1; + _oldDirection = -1; } void Globals::INIT_ANIM() { -- cgit v1.2.3