diff options
author | Strangerke | 2013-02-15 08:24:10 +0100 |
---|---|---|
committer | Strangerke | 2013-02-15 08:24:10 +0100 |
commit | 0a1cc63abb4e4a43bc8b865fb50c753e7a6669af (patch) | |
tree | 9d28b407107ba01f566fb9605f91235889cdb2e2 /engines/hopkins/script.cpp | |
parent | f5d3df3d2de8ecf32701ad76316bf196c40e0e0e (diff) | |
download | scummvm-rg350-0a1cc63abb4e4a43bc8b865fb50c753e7a6669af.tar.gz scummvm-rg350-0a1cc63abb4e4a43bc8b865fb50c753e7a6669af.tar.bz2 scummvm-rg350-0a1cc63abb4e4a43bc8b865fb50c753e7a6669af.zip |
HOPKINS: More renaming and refactoring
Diffstat (limited to 'engines/hopkins/script.cpp')
-rw-r--r-- | engines/hopkins/script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hopkins/script.cpp b/engines/hopkins/script.cpp index 04cacf6ec8..d4d008bb07 100644 --- a/engines/hopkins/script.cpp +++ b/engines/hopkins/script.cpp @@ -224,7 +224,7 @@ int ScriptManager::handleOpcode(byte *dataP) { if (_vm->_globals._saveData->_data[svField356] == 1 && _vm->_globals._saveData->_realHopkins._location == _vm->_globals._screenId) { _vm->_objectsManager.addStaticSprite( - _vm->_globals.TETE, + _vm->_objectsManager._headSprites, _vm->_globals._saveData->_realHopkins._pos, 1, 2, @@ -239,7 +239,7 @@ int ScriptManager::handleOpcode(byte *dataP) { && _vm->_globals._saveData->_data[svField355] == 1 && _vm->_globals._saveData->_samantha._location == _vm->_globals._screenId) { _vm->_objectsManager.addStaticSprite( - _vm->_globals.TETE, + _vm->_objectsManager._headSprites, _vm->_globals._saveData->_samantha._pos, 1, 3, @@ -2210,7 +2210,7 @@ int ScriptManager::handleOpcode(byte *dataP) { _vm->_globals._saveData->_data[svField355] = 1; _vm->_objectsManager._twoCharactersFl = true; _vm->_graphicsManager.fastDisplay(_vm->_globals.SPRITE_ECRAN, 373, 191, 3); - _vm->_objectsManager.addStaticSprite(_vm->_globals.TETE, samantha->_pos, 1, 3, samantha->_zoomFactor, false, 20, 127); + _vm->_objectsManager.addStaticSprite(_vm->_objectsManager._headSprites, samantha->_pos, 1, 3, samantha->_zoomFactor, false, 20, 127); _vm->_objectsManager.animateSprite(1); break; } |