aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorsluicebox2019-11-20 13:40:29 -0800
committersluicebox2019-11-20 13:40:29 -0800
commit7423320e9d57554c5f0e156eb8e6e3b79fb087ad (patch)
tree5882d2546b26b5aa18a57ee2ffaa9cdd3857a102 /engines
parentf8d551803cfb6c1db3d24f7ef2731c652b9a5313 (diff)
downloadscummvm-rg350-7423320e9d57554c5f0e156eb8e6e3b79fb087ad.tar.gz
scummvm-rg350-7423320e9d57554c5f0e156eb8e6e3b79fb087ad.tar.bz2
scummvm-rg350-7423320e9d57554c5f0e156eb8e6e3b79fb087ad.zip
SCI: Fix comment typos
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/script_patches.cpp2
-rw-r--r--engines/sci/graphics/frameout.cpp2
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<reg_t> changeDirButtons = _segMan->findObjectsByName("changeButton");