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/draci | |
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/draci')
-rw-r--r-- | engines/draci/game.cpp | 2 | ||||
-rw-r--r-- | engines/draci/game.h | 2 | ||||
-rw-r--r-- | engines/draci/sound.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index af57b1eb37..f82ef395f3 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -135,7 +135,7 @@ Game::Game(DraciEngine *vm) : _vm(vm), _walkingState(vm) { } _dialogueVars = new int[curOffset]; - memset(_dialogueVars, 0, sizeof (int) * curOffset); + memset(_dialogueVars, 0, sizeof(int) * curOffset); // Read in game info file = initArchive->getFile(3); diff --git a/engines/draci/game.h b/engines/draci/game.h index 1e3cca9b9d..95a21da505 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -257,7 +257,7 @@ public: int getItemStatus(int itemID) const { return _itemStatus[itemID]; } void setItemStatus(int itemID, int status) { _itemStatus[itemID] = status; } - GameItem *getItem(int id) { return id >= 0 && id < (int) _info._numItems ? &_items[id] : NULL; } + GameItem *getItem(int id) { return id >= 0 && id < (int)_info._numItems ? &_items[id] : NULL; } GameItem *getCurrentItem() const { return _currentItem; } void setCurrentItem(GameItem *item) { _currentItem = item; } int getPreviousItemPosition() const { return _previousItemPosition; } diff --git a/engines/draci/sound.cpp b/engines/draci/sound.cpp index cbc9eb983d..953e1355ff 100644 --- a/engines/draci/sound.cpp +++ b/engines/draci/sound.cpp @@ -151,7 +151,7 @@ void LegacySoundArchive::clearCache() { */ SoundSample *LegacySoundArchive::getSample(int i, uint freq) { // Check whether requested file exists - if (i < 0 || i >= (int) _sampleCount) { + if (i < 0 || i >= (int)_sampleCount) { return NULL; } @@ -230,7 +230,7 @@ void ZipSoundArchive::clearCache() { } SoundSample *ZipSoundArchive::getSample(int i, uint freq) { - if (i < 0 || i >= (int) _sampleCount) { + if (i < 0 || i >= (int)_sampleCount) { return NULL; } debugCN(2, kDraciArchiverDebugLevel, "Accessing sample %d.%s from archive %s (format %d@%d, capacity %d): ", |