[Scummvm-git-logs] scummvm master -> 68b4fb3f5a4389180e019f8705a6ffb21e28b2cb

Strangerke noreply at scummvm.org
Mon Nov 18 11:41:15 UTC 2024


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:
68b4fb3f5a M4: RIDDLE: Room 204 - Remove a useless GOTO


Commit: 68b4fb3f5a4389180e019f8705a6ffb21e28b2cb
    https://github.com/scummvm/scummvm/commit/68b4fb3f5a4389180e019f8705a6ffb21e28b2cb
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-11-18T12:41:08+01:00

Commit Message:
M4: RIDDLE: Room 204 - Remove a useless GOTO

Changed paths:
    engines/m4/riddle/rooms/section2/room204.cpp


diff --git a/engines/m4/riddle/rooms/section2/room204.cpp b/engines/m4/riddle/rooms/section2/room204.cpp
index 78730c8e480..cb32ae09c38 100644
--- a/engines/m4/riddle/rooms/section2/room204.cpp
+++ b/engines/m4/riddle/rooms/section2/room204.cpp
@@ -996,10 +996,9 @@ void Room204::parser() {
 			break;
 		}
 
-		goto done;
 	} // talkFl && player_said("MEI CHEN")
 
-	if (talkFl && player_said("ACOLYTE"))
+	else if (talkFl && player_said("ACOLYTE"))
 		digi_play("204R51", 1, 255, -1, -1);
 	else if (player_said("US DOLLARS", "ACOLYTE") || player_said("US DOLLARS", "YOUNG PRIEST"))
 		digi_play("204R24", 1, 255, -1, -1);




More information about the Scummvm-git-logs mailing list