From 0a8abdf926c4fce06861ba296bb63eac4233c2b1 Mon Sep 17 00:00:00 2001 From: Hubert Maier Date: Mon, 7 Nov 2022 15:27:45 +0100 Subject: [PATCH] JANITORIAL: SHERLOCK: Correct Spelling Mistakes occassionally -> occasionally neccessary -> necessary --- engines/sherlock/tattoo/tattoo_people.cpp | 2 +- engines/sherlock/tattoo/tattoo_scene.cpp | 2 +- engines/sherlock/tattoo/widget_options.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp index 2ee25f89a9f..b35d50cfc30 100644 --- a/engines/sherlock/tattoo/tattoo_people.cpp +++ b/engines/sherlock/tattoo/tattoo_people.cpp @@ -972,7 +972,7 @@ void TattooPerson::checkWalkGraphics() { _sequences = &_walkSequences[_sequenceNumber]._sequences[0]; _seqSize = _walkSequences[_sequenceNumber]._sequences.size(); - // WORKAROUND: Occassionally when switching to a new walk sequence the existing frame number may be outside + // WORKAROUND: Occasionally when switching to a new walk sequence the existing frame number may be outside // the allowed range for the new sequence. In such cases, reset the frame number if (_frameNumber < 0 || _frameNumber >= (int)_seqSize || _walkSequences[_sequenceNumber][_frameNumber] == 0) _frameNumber = 0; diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp index 6ba5c7d8d42..d56debfc4fb 100644 --- a/engines/sherlock/tattoo/tattoo_scene.cpp +++ b/engines/sherlock/tattoo/tattoo_scene.cpp @@ -649,7 +649,7 @@ int TattooScene::startCAnim(int cAnimNum, int playRate) { if (talk._talkToAbort) return 1; - // Turn the player (and NPC #1 if neccessary) off before running the canimation + // Turn the player (and NPC #1 if necessary) off before running the canimation if (teleport1.x != -1 && savedPlayerType == CHARACTER) people[HOLMES]._type = REMOVE; diff --git a/engines/sherlock/tattoo/widget_options.cpp b/engines/sherlock/tattoo/widget_options.cpp index 94a7337c5e5..46f2cd006c6 100644 --- a/engines/sherlock/tattoo/widget_options.cpp +++ b/engines/sherlock/tattoo/widget_options.cpp @@ -100,7 +100,7 @@ void WidgetOptions::handleEvents() { render(OP_CONTENTS); _oldSelector = _selector; - // Adjust the Volume Sliders (if neccessary) here + // Adjust the Volume Sliders (if necessary) here switch (_selector) { case 3: { // Set Music Volume