From 4ab60c43c0834d568b7c21ed9b45a2beab9e5815 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 24 Dec 2012 13:32:39 +0100 Subject: HOPKINS: Refactor handleGoto and handleIf, some renaming --- engines/hopkins/graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hopkins/graphics.cpp') 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) -- cgit v1.2.3