[Scummvm-git-logs] scummvm master -> 3e4ee7e23c866649256e8b28d314258cbc021cbf

digitall 547637+digitall at users.noreply.github.com
Thu Aug 26 21:13:02 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3e4ee7e23c STARTREK: Fix Coverity Warning for Identical Branches


Commit: 3e4ee7e23c866649256e8b28d314258cbc021cbf
    https://github.com/scummvm/scummvm/commit/3e4ee7e23c866649256e8b28d314258cbc021cbf
Author: D G Turner (digitall at scummvm.org)
Date: 2021-08-26T22:10:18+01:00

Commit Message:
STARTREK: Fix Coverity Warning for Identical Branches

CID 1394745

Changed paths:
    engines/startrek/rooms/mudd4.cpp


diff --git a/engines/startrek/rooms/mudd4.cpp b/engines/startrek/rooms/mudd4.cpp
index d6a89fbeaa..1b310a4d3d 100644
--- a/engines/startrek/rooms/mudd4.cpp
+++ b/engines/startrek/rooms/mudd4.cpp
@@ -660,10 +660,10 @@ void Room::mudd4UseMccoyOnConsole() {
 void Room::mudd4UseRedshirtOnConsole() {
 	// Floppy version shows two different pieces of text here, but in the CD version,
 	// there's no difference
-	if (!_awayMission->mudd.translatedAlienLanguage)
-		showText(TX_SPEAKER_BUCHERT, TX_MUD4_075);
-	else
-		showText(TX_SPEAKER_BUCHERT, TX_MUD4_075);
+	//if (!_awayMission->mudd.translatedAlienLanguage)
+	//showText(TX_SPEAKER_BUCHERT, TX_MUD4_075);
+	//else
+	showText(TX_SPEAKER_BUCHERT, TX_MUD4_075);
 
 	_awayMission->crewDirectionsAfterWalk[OBJECT_REDSHIRT] = DIR_N;
 	walkCrewman(OBJECT_REDSHIRT, 0x2a, 0xbb);




More information about the Scummvm-git-logs mailing list