diff options
author | Paul Gilbert | 2013-03-31 10:16:33 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-03-31 10:16:33 -0400 |
commit | 58971af45c43873e9f87c7f5f02cb57389f173ff (patch) | |
tree | 238d7f32e71b5982edd6894e2c017b878ef04969 /engines/hopkins | |
parent | 370bfed49f3d8fedae11150cf69f4ca623238179 (diff) | |
download | scummvm-rg350-58971af45c43873e9f87c7f5f02cb57389f173ff.tar.gz scummvm-rg350-58971af45c43873e9f87c7f5f02cb57389f173ff.tar.bz2 scummvm-rg350-58971af45c43873e9f87c7f5f02cb57389f173ff.zip |
HOPKINS: Renamed some local variables used for BobItem initialization
Diffstat (limited to 'engines/hopkins')
-rw-r--r-- | engines/hopkins/objects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp index 6261e8c2a8..cd372b7e06 100644 --- a/engines/hopkins/objects.cpp +++ b/engines/hopkins/objects.cpp @@ -664,7 +664,7 @@ void ObjectsManager::displayBob(int idx) { int16 bobModeChange = READ_LE_INT16(data + 2); - int16 newField22 = READ_LE_INT16(data + 4); + int16 modeChangeUnused = READ_LE_INT16(data + 4); // data[6] isn't used, read skipped int16 newModeChangeCtr = READ_LE_INT16(data + 8); @@ -687,7 +687,7 @@ void ObjectsManager::displayBob(int idx) { _bob[idx]._bobModeChange = bobModeChange; _bob[idx]._modeChangeCtr = newModeChangeCtr; - _bob[idx]._modeChangeUnused = newField22; + _bob[idx]._modeChangeUnused = modeChangeUnused; } void ObjectsManager::hideBob(int idx) { |