[Scummvm-git-logs] scummvm master -> 25aa1fe13ada5eaff427cec02eb38d6b17465dbd

Strangerke noreply at scummvm.org
Mon Dec 9 08:51:38 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:
25aa1fe13a M4: RIDDLE: room 705: Fix issue detected by Coverity (CID 1566712)


Commit: 25aa1fe13ada5eaff427cec02eb38d6b17465dbd
    https://github.com/scummvm/scummvm/commit/25aa1fe13ada5eaff427cec02eb38d6b17465dbd
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-12-09T09:51:28+01:00

Commit Message:
M4: RIDDLE: room 705: Fix issue detected by Coverity (CID 1566712)

Changed paths:
    engines/m4/riddle/rooms/section7/room705.cpp


diff --git a/engines/m4/riddle/rooms/section7/room705.cpp b/engines/m4/riddle/rooms/section7/room705.cpp
index ae3240f4ab6..f1113f44ab3 100644
--- a/engines/m4/riddle/rooms/section7/room705.cpp
+++ b/engines/m4/riddle/rooms/section7/room705.cpp
@@ -1009,7 +1009,7 @@ void Room705::daemon() {
 
 	case 137:
 		if (_field60_mode == 134) {
-			switch (_field60_mode) {
+			switch (_field64_should) {
 			case 131:
 			case 132:
 			case 134:




More information about the Scummvm-git-logs mailing list