Skip to content

Commit

Permalink
STARTREK: Allow engine to run without voc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Stewmath authored and sev- committed Aug 9, 2018
1 parent f412328 commit 42b2281
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/startrek/awaymission.cpp
Expand Up @@ -495,7 +495,7 @@ SharedPtr<Room> StarTrekEngine::getRoom() {


void StarTrekEngine::addAction(const Action &action) { void StarTrekEngine::addAction(const Action &action) {
if (action.type != ACTION_TICK) if (action.type != ACTION_TICK)
debug("Action %d: %x, %x, %x", action.type, action.b1, action.b2, action.b3); debugC(kDebugGeneral, 4, "Action %d: %x, %x, %x", action.type, action.b1, action.b2, action.b3);
_actionQueue.push(action); _actionQueue.push(action);
} }


Expand Down
3 changes: 2 additions & 1 deletion engines/startrek/sound.cpp
Expand Up @@ -64,7 +64,8 @@ Sound::Sound(StarTrekEngine *vm) : _vm(vm) {
} }


if (!SearchMan.hasFile("voc/speech.mrk")) { if (!SearchMan.hasFile("voc/speech.mrk")) {
error("Couldn't find 'voc/speech.mrk'. The 'trekcd/voc/' directory must be dumped from the CD"); warning("Couldn't find 'voc/speech.mrk'. The 'trekcd/voc/' directory should be dumped from the CD. Continuing without CD audio");
_vm->_sfxWorking = false;
} }


_playingSpeech = false; _playingSpeech = false;
Expand Down

0 comments on commit 42b2281

Please sign in to comment.