Permalink
Browse files

STARTREK: Fix swapped McCoy & Spock speaker names

  • Loading branch information...
Drenn1 authored and sev- committed Jun 24, 2018
1 parent cfb5daa commit e367f9d25ef7b14ea1ed2ec392f41a61cce34c4c
Showing with 2 additions and 2 deletions.
  1. +2 −2 engines/startrek/awaymission.cpp
@@ -467,11 +467,11 @@ void StarTrekEngine::handleAwayMissionAction() {
case OBJECT_IPHASERK:
if (action.passiveObject() == OBJECT_SPOCK) {
int text = GROUNDTX_PHASER_ON_SPOCK + getRandomWord() % 8;
showTextbox("Dr. McCoy", getLoadedText(text), 20, 20, TEXTCOLOR_BLUE, 0);
showTextbox("Mr. Spock", getLoadedText(text), 20, 20, TEXTCOLOR_BLUE, 0);
}
else if (action.passiveObject() == OBJECT_MCCOY) {
int text = GROUNDTX_PHASER_ON_MCCOY + getRandomWord() % 8;
showTextbox("Mr. Spock", getLoadedText(text), 20, 20, TEXTCOLOR_BLUE, 0);
showTextbox("Dr. McCoy", getLoadedText(text), 20, 20, TEXTCOLOR_BLUE, 0);
}
else if (action.passiveObject() == OBJECT_REDSHIRT) {
Common::String text = getLoadedText(GROUNDTX_PHASER_ON_REDSHIRT + getRandomWord() % 8);

0 comments on commit e367f9d

Please sign in to comment.