diff options
author | Strangerke | 2012-12-24 13:32:39 +0100 |
---|---|---|
committer | Strangerke | 2012-12-24 13:32:39 +0100 |
commit | 4ab60c43c0834d568b7c21ed9b45a2beab9e5815 (patch) | |
tree | d9488a329bf45e002b23a973fe28249e575d04f7 /engines/hopkins/graphics.cpp | |
parent | 8c1f422bd68fe23c4e73ba3d3b13de028c905134 (diff) | |
download | scummvm-rg350-4ab60c43c0834d568b7c21ed9b45a2beab9e5815.tar.gz scummvm-rg350-4ab60c43c0834d568b7c21ed9b45a2beab9e5815.tar.bz2 scummvm-rg350-4ab60c43c0834d568b7c21ed9b45a2beab9e5815.zip |
HOPKINS: Refactor handleGoto and handleIf, some renaming
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r-- | engines/hopkins/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp index d4ad9cc30b..cb4abd9d9d 100644 --- a/engines/hopkins/graphics.cpp +++ b/engines/hopkins/graphics.cpp @@ -1971,9 +1971,9 @@ void GraphicsManager::OPTI_INI(const Common::String &file, int mode) { return; if (dataVal1 == 2) - dataOffset = _vm->_scriptManager.Control_Goto((ptr + 20 * dataOffset)); + dataOffset = _vm->_scriptManager.handleGoto((ptr + 20 * dataOffset)); if (dataVal1 == 3) - dataOffset = _vm->_scriptManager.Control_If(ptr, dataOffset); + dataOffset = _vm->_scriptManager.handleIf(ptr, dataOffset); if (dataOffset == -1) error("Error, defective IFF"); if (dataVal1 == 1 || dataVal1 == 4) |