From 7423320e9d57554c5f0e156eb8e6e3b79fb087ad Mon Sep 17 00:00:00 2001 From: sluicebox Date: Wed, 20 Nov 2019 13:40:29 -0800 Subject: SCI: Fix comment typos --- engines/sci/engine/script_patches.cpp | 2 +- engines/sci/graphics/frameout.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index b42b7c33ec..7e0567fe4d 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -738,7 +738,7 @@ static const uint16 camelotSignatureSwordSheathing[] = { 0x32, SIG_UINT16(0x0085), // jmp 0085 [ end of switch ] 0x3c, // dup 0x35, 0x02, // ldi 02 - 0x1a, // eq? [ sword-command == 2 (sheath) ] + 0x1a, // eq? [ sword-command == 2 (sheathe) ] 0x30, SIG_UINT16(0x0013), // bnt 0013 0x39, SIG_SELECTOR8(setScript), // pushi setScript 0x78, // push1 diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 6b75e2c493..93c2716e3c 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -285,7 +285,7 @@ void GfxFrameout::kernelAddPlane(const reg_t object) { // kAddPlane is called several times, this detects the second call // which is for the import character dialog. If changeButton:value // is non-zero then the dialog is initializing. If the button isn't - // disabled then we havent't displayed the message box yet. There + // disabled then we haven't displayed the message box yet. There // are multiple changeButtons because the script clones the object. SegManager *segMan = g_sci->getEngineState()->_segMan; Common::Array changeDirButtons = _segMan->findObjectsByName("changeButton"); -- cgit v1.2.3