aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/lilliput.cpp
diff options
context:
space:
mode:
authorStrangerke2012-05-01 23:32:44 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commit8019c8b26ccbcce04c042d8ad70d18c51a2f432c (patch)
tree5131f28602dfd9a2ab201cec74de0403d58397dd /engines/lilliput/lilliput.cpp
parent17998c7d459df41d4827344b6248804f9ee4f406 (diff)
downloadscummvm-rg350-8019c8b26ccbcce04c042d8ad70d18c51a2f432c.tar.gz
scummvm-rg350-8019c8b26ccbcce04c042d8ad70d18c51a2f432c.tar.bz2
scummvm-rg350-8019c8b26ccbcce04c042d8ad70d18c51a2f432c.zip
LILLIPUT: rename one variable
Diffstat (limited to 'engines/lilliput/lilliput.cpp')
-rw-r--r--engines/lilliput/lilliput.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index ae2515db67..d3092a85bb 100644
--- a/engines/lilliput/lilliput.cpp
+++ b/engines/lilliput/lilliput.cpp
@@ -150,7 +150,7 @@ LilliputEngine::LilliputEngine(OSystem *syst, const LilliputGameDescription *gd)
_byte12FE3 = 0;
_byte16F08 = 0;
- currentScriptCharacter = 0;
+ _currentScriptCharacter = 0;
_currentScriptCharacterPosition = 0;
_word10804 = 0;
_word17081_nextIndex = 0;
@@ -2307,14 +2307,14 @@ void LilliputEngine::initPalette() {
void LilliputEngine::sub170EE(int index) {
debugC(1, kDebugEngine, "sub170EE(%d)", index);
- currentScriptCharacter = index;
+ _currentScriptCharacter = index;
assert (index < 40);
int var2 = _characterPositionX[index];
int var4 = _characterPositionY[index];
_currentScriptCharacterPosition = (((var2 >> 3) & 0xFF) << 8) + ((var4 >> 3) & 0xFF);
- _currentCharacterVariables = &_characterVariables[currentScriptCharacter * 32];
+ _currentCharacterVariables = &_characterVariables[_currentScriptCharacter * 32];
}
void LilliputEngine::sub130DD() {