JANITORIAL: SHERLOCK: Correct Spelling Mistakes

occassionally -> occasionally
neccessary -> necessary
This commit is contained in:
Hubert Maier 2022-11-07 15:27:45 +01:00 committed by Filippos Karapetis
parent 48d4944c64
commit 0a8abdf926
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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