diff options
author | Paul Gilbert | 2018-08-17 20:30:20 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-08-17 20:30:20 -0700 |
commit | 11e33ba3fc1b65789358485fa50cdbc0cf26aac7 (patch) | |
tree | ebb245cf6617e1ac0b35bf3681307bcbc541b230 /engines/kyra | |
parent | c8d3af3874d7c814a9f1f03ad740c3e9f8386eaa (diff) | |
download | scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.gz scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.bz2 scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.zip |
JANITORIAL: Removing trailing spaces after int casts
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sequences_hof.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/sound_lol.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/sound_towns.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/sequences_hof.cpp b/engines/kyra/sequences_hof.cpp index 7ee1ad7e4b..fc7a5239cc 100644 --- a/engines/kyra/sequences_hof.cpp +++ b/engines/kyra/sequences_hof.cpp @@ -385,7 +385,7 @@ SeqPlayer_HOF::SeqPlayer_HOF(KyraEngine_v1 *vm, Screen_v2 *screen, OSystem *syst _sequenceStrings = _vm->staticres()->loadStrings(k2SeqplayStrings, tempSize); uint8 multiplier = (_vm->gameFlags().platform == Common::kPlatformFMTowns || _vm->gameFlags().platform == Common::kPlatformPC98) ? 12 : 8; for (int i = 0; i < MIN(33, tempSize); i++) - _textDuration[i] = (int) strlen(_sequenceStrings[i]) * multiplier; + _textDuration[i] = (int)strlen(_sequenceStrings[i]) * multiplier; if (_sequenceSoundList) { for (int i = 0; i < _sequenceSoundListSize; i++) { diff --git a/engines/kyra/sound_lol.cpp b/engines/kyra/sound_lol.cpp index 6e7551ed0e..51239bc444 100644 --- a/engines/kyra/sound_lol.cpp +++ b/engines/kyra/sound_lol.cpp @@ -38,7 +38,7 @@ bool LoLEngine::snd_playCharacterSpeech(int id, int8 speaker, int) { if (speaker < 65) { if (_characters[speaker].flags & 1) - speaker = (int) _characters[speaker].name[0]; + speaker = (int)_characters[speaker].name[0]; else speaker = 0; } diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp index 646f908b94..e1c9bc5324 100644 --- a/engines/kyra/sound_towns.cpp +++ b/engines/kyra/sound_towns.cpp @@ -601,8 +601,8 @@ void SoundTownsPC98_v2::playTrack(uint8 track) { int trackNum = -1; if (_vm->gameFlags().platform == Common::kPlatformFMTowns) { for (uint i = 0; i < res()->cdaTableSize; i++) { - if (track == (uint8) READ_LE_UINT16(&res()->cdaTable[i * 2])) { - trackNum = (int) READ_LE_UINT16(&res()->cdaTable[i * 2 + 1]) - 1; + if (track == (uint8)READ_LE_UINT16(&res()->cdaTable[i * 2])) { + trackNum = (int)READ_LE_UINT16(&res()->cdaTable[i * 2 + 1]) - 1; break; } } |