aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/sound.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-10-19 22:34:26 +0000
committerJordi Vilalta Prat2010-10-19 22:34:26 +0000
commit59c054938a7fd2036badbecfbb3b72ad55b0e820 (patch)
tree3fbc8ec383c10ba88ca88b44c875e479386e7cd4 /engines/lastexpress/game/sound.cpp
parente4029f6f0e5aa9dc679ce875fb7625c564c69144 (diff)
downloadscummvm-rg350-59c054938a7fd2036badbecfbb3b72ad55b0e820.tar.gz
scummvm-rg350-59c054938a7fd2036badbecfbb3b72ad55b0e820.tar.bz2
scummvm-rg350-59c054938a7fd2036badbecfbb3b72ad55b0e820.zip
LASTEXPRESS: Fix some space formatting.
svn-id: r53629
Diffstat (limited to 'engines/lastexpress/game/sound.cpp')
-rw-r--r--engines/lastexpress/game/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp
index c8d8809bc3..f082c5f636 100644
--- a/engines/lastexpress/game/sound.cpp
+++ b/engines/lastexpress/game/sound.cpp
@@ -337,7 +337,7 @@ void SoundManager::loadSoundData(SoundEntry *entry, Common::String name) {
}
}
-void SoundManager::resetEntry(SoundEntry * entry) const {
+void SoundManager::resetEntry(SoundEntry *entry) const {
entry->status.status |= kSoundStatusRemoved;
entry->entity = kEntityPlayer;
@@ -517,7 +517,7 @@ void SoundManager::playSound(EntityIndex entity, Common::String filename, FlagTy
}
SoundManager::SoundType SoundManager::playSoundWithSubtitles(Common::String filename, FlagType flag, EntityIndex entity, byte a4) {
- SoundEntry* entry = new SoundEntry();
+ SoundEntry *entry = new SoundEntry();
setupEntry(entry, filename, flag, 30);
entry->entity = entity;
@@ -1051,7 +1051,7 @@ void SoundManager::readText(int id){
error("Sound::readText - attempting to use invalid id. Valid values [1;8] - [50;64], was %d", id);
// Get proper message file (names are stored in sequence in the array but id is [1;8] - [50;64])
- const char* text = messages[id <= 8 ? id : id - 41];
+ const char *text = messages[id <= 8 ? id : id - 41];
// Check if file is in cache for id [1;8]
if (id <= 8)