aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/zones.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/zones.cpp')
-rw-r--r--engines/agos/zones.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/agos/zones.cpp b/engines/agos/zones.cpp
index 630d85d145..dd0d48d912 100644
--- a/engines/agos/zones.cpp
+++ b/engines/agos/zones.cpp
@@ -63,7 +63,15 @@ void AGOSEngine::loadZone(uint zoneNum) {
vpe->vgaFile1End = _blockEnd;
vpe->sfxFile = NULL;
- if (!(getFeatures() & GF_ZLIBCOMP)) {
+
+ if ((getPlatform() == Common::kPlatformAmiga || getPlatform() == Common::kPlatformAtariST) &&
+ getGameType() == GType_ELVIRA2) {
+ // A singe sound file is used for Amiga and AtariST versions
+ if (loadVGASoundFile(1, 3)) {
+ vpe->sfxFile = _block;
+ vpe->sfxFileEnd = _blockEnd;
+ }
+ } else if (!(getFeatures() & GF_ZLIBCOMP)) {
if (loadVGASoundFile(zoneNum, 3)) {
vpe->sfxFile = _block;
vpe->sfxFileEnd = _blockEnd;