JANITORIAL: SCUMM: Fix some typos and extra semicolons

This commit is contained in:
Donovan Watteau 2023-03-07 13:10:54 +01:00
parent 37e3146f49
commit 7a7a1552b2
2 changed files with 4 additions and 4 deletions

View File

@ -572,7 +572,7 @@ const Common::U32String InfoDialog::queryResString(int stringno) {
const ResString &InfoDialog::getStaticResString(Common::Language lang, int stringno) {
// The string parts are only needed for v1/2. So we need to provide only the
// language varieties that exist for these. I have added the langugage I found
// language varieties that exist for these. I have added the languages I found
// in scumm-md5.h. I guess we could actually ditch the first 3 lines...
static const ResString strMap1[][6] = {
{ // English
@ -752,7 +752,7 @@ const ResString &InfoDialog::getStaticResString(Common::Language lang, int strin
bool useHardcodedV3QuitPrompt = stringno == 5 && _vm->_game.version == 3 && _vm->_game.id != GID_LOOM;
bool useFixedDottMenuStrings = stringno >= 21 && stringno <= 26 && _vm->_game.id == GID_TENTACLE;
// I have added the langugages I found in scumm-md5.h for v1/2 games...
// I have added the languages I found in scumm-md5.h for v1/2 games...
int langIndex = 0;
switch (lang) {
case Common::FR_FRA:

View File

@ -1628,7 +1628,7 @@ void SmushPlayer::processDispatches(int16 feedSize) {
break;
default:
error("SmushPlayer::processDispatches(): unrecognized flag %d", _smushTracks[i].flags & TRK_TYPE_MASK);
};
}
mixVolume = baseVolume * _smushTrackVols[0] / 127;
if ((flags & TRK_TYPE_MASK) == IS_BKG_MUSIC && isChanActive(CHN_SPEECH))
@ -1813,7 +1813,7 @@ void SmushPlayer::processDispatches(int16 feedSize) {
_smushTracks[i].audioRemaining = _smushDispatch[i].audioRemaining;
_smushDispatch[i].state = _smushTracks[i].state;
};
}
if (speechIsPlaying) {
if (_gainReductionMultiplier > _gainReductionLowerBound) {