From 11e33ba3fc1b65789358485fa50cdbc0cf26aac7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 17 Aug 2018 20:30:20 -0700 Subject: JANITORIAL: Removing trailing spaces after int casts --- engines/kyra/sequences_hof.cpp | 2 +- engines/kyra/sound_lol.cpp | 2 +- engines/kyra/sound_towns.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/kyra') 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; } } -- cgit v1.2.3