Skip to content
Permalink
Browse files

WAGE: Don't require the data fork for the external sound file

  • Loading branch information...
ccawley2011 authored and bluegr committed Aug 10, 2019
1 parent 6884349 commit d8dc31a6730dff72189b5ab240a5af06ab5dd135
Showing with 2 additions and 8 deletions.
  1. +2 −8 engines/wage/world.cpp
@@ -359,17 +359,11 @@ void World::addSound(Sound *sound) {
}

void World::loadExternalSounds(Common::String fname) {
Common::File in;

in.open(fname);
if (!in.isOpen()) {
Common::MacResManager resMan;
if (!resMan.open(fname)) {
warning("Cannot load sound file <%s>", fname.c_str());
return;
}
in.close();

Common::MacResManager resMan;
resMan.open(fname);

Common::MacResIDArray resArray;
Common::SeekableReadStream *res;

0 comments on commit d8dc31a

Please sign in to comment.
You can’t perform that action at this time.