AGOS: cleanup

svn-id: r47451
This commit is contained in:
Max Horn 2010-01-22 23:58:24 +00:00
parent e754d8e1d3
commit e270da88a6
4 changed files with 13 additions and 8 deletions

View file

@ -558,7 +558,7 @@ void AGOSEngine_Simon1::os1_unloadZone() {
void AGOSEngine_Simon1::os1_loadStrings() {
// 185: load sound files
_soundFileId = getVarOrWord();
if (getPlatform() == Common::kPlatformAmiga && getFeatures() & GF_TALKIE) {
if (getPlatform() == Common::kPlatformAmiga && (getFeatures() & GF_TALKIE)) {
char buf[10];
sprintf(buf, "%d%s", _soundFileId, "Effects");
_sound->readSfxFile(buf);