aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorStrangerke2013-01-14 08:04:38 +0100
committerStrangerke2013-01-14 08:04:38 +0100
commitec2feb4aeca0009a0b70a094565a0b464280a899 (patch)
tree2d1341f171b130d2d6824c8d901ca0e262d1cff1 /engines/hopkins/globals.cpp
parent75ba8bfb88a8e62a588747184fa341d20b52fa79 (diff)
downloadscummvm-rg350-ec2feb4aeca0009a0b70a094565a0b464280a899.tar.gz
scummvm-rg350-ec2feb4aeca0009a0b70a094565a0b464280a899.tar.bz2
scummvm-rg350-ec2feb4aeca0009a0b70a094565a0b464280a899.zip
HOPKINS: Rename old Direction fields
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp8
1 files changed, 4 insertions, 4 deletions
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() {