[Scummvm-git-logs] scummvm master -> fd9c22f0b72320c50c7c4982e577c74bbfe96ef2

digitall 547637+digitall at users.noreply.github.com
Sun Oct 20 21:58:01 CEST 2019


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:
fd9c22f0b7 STARTREK: Fix Minor Syntax Mistake


Commit: fd9c22f0b72320c50c7c4982e577c74bbfe96ef2
    https://github.com/scummvm/scummvm/commit/fd9c22f0b72320c50c7c4982e577c74bbfe96ef2
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-20T20:53:58+01:00

Commit Message:
STARTREK: Fix Minor Syntax Mistake

This unfortunately compiled fine, but was flagged by the GCC
-Wunused-value warning.

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


diff --git a/engines/startrek/rooms/mudd2.cpp b/engines/startrek/rooms/mudd2.cpp
index a0bb188..4387bd18 100644
--- a/engines/startrek/rooms/mudd2.cpp
+++ b/engines/startrek/rooms/mudd2.cpp
@@ -234,7 +234,7 @@ void Room::mudd2SpockPinchedMudd() {
 	loadActorAnim2(OBJECT_MUDD, "s4sbob", 0x9f, 0xba);
 	loadActorAnim2(OBJECT_SPOCK, "sstnde", 0xd0, 0xbd);
 
-	showText(TX_SPEAKER_SPOCK, 12), true;
+	showText(TX_SPEAKER_SPOCK, 12, true);
 
 	_awayMission->disableInput = false;
 	_awayMission->mudd.muddUnconscious = true;





More information about the Scummvm-git-logs mailing list