aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/game.cpp2
-rw-r--r--engines/draci/game.h2
-rw-r--r--engines/draci/sound.cpp4
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): ",