aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/rooms/tug0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/startrek/rooms/tug0.cpp')
-rw-r--r--engines/startrek/rooms/tug0.cpp21
1 files changed, 13 insertions, 8 deletions
diff --git a/engines/startrek/rooms/tug0.cpp b/engines/startrek/rooms/tug0.cpp
index e90544d57e..4461b226d5 100644
--- a/engines/startrek/rooms/tug0.cpp
+++ b/engines/startrek/rooms/tug0.cpp
@@ -142,14 +142,19 @@ void Room::tug0SpockFinishedUsingWire() {
showText(TX_SPEAKER_KIRK, TX_TUG0_010);
showText(TX_SPEAKER_MCCOY, TX_TUG0_022);
- showText(TX_SPEAKER_KIRK, TX_TUG0_002);
- showText(TX_SPEAKER_CHRISTENSEN, TX_TUG0L009);
- showText(TX_SPEAKER_CHRISTENSEN, TX_TUG0L008);
-
- if (_vm->_awayMission.tug.haveBomb) {
- showText(TX_SPEAKER_CHRISTENSEN, TX_TUG0L010);
- showText(TX_SPEAKER_MCCOY, TX_TUG0_021);
- showText(TX_SPEAKER_SPOCK, TX_TUG0_041);
+
+ // BUGFIX: check if the redshirt is dead.
+ if (!_vm->_awayMission.redshirtDead) {
+ showText(TX_SPEAKER_KIRK, TX_TUG0_002);
+
+ showText(TX_SPEAKER_CHRISTENSEN, TX_TUG0L009);
+ showText(TX_SPEAKER_CHRISTENSEN, TX_TUG0L008);
+
+ if (_vm->_awayMission.tug.haveBomb) {
+ showText(TX_SPEAKER_CHRISTENSEN, TX_TUG0L010);
+ showText(TX_SPEAKER_MCCOY, TX_TUG0_021);
+ showText(TX_SPEAKER_SPOCK, TX_TUG0_041);
+ }
}
}