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

dreammaster noreply at scummvm.org
Sat Sep 6 21:43:27 UTC 2025


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

Summary:
099a3b5bdb BAGEL: Fix case fall throughs
3cfdade112 BAGEL: MINIGAMES: Fix incorrect cast in LineDDA call


Commit: 099a3b5bdbd746596adb7e0efc02a6653ed50003
    https://github.com/scummvm/scummvm/commit/099a3b5bdbd746596adb7e0efc02a6653ed50003
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-06T14:38:00-07:00

Commit Message:
BAGEL: Fix case fall throughs

Changed paths:
    engines/bagel/hodjnpodj/mankala/mnklog.cpp
    engines/bagel/mfc/wnd.cpp


diff --git a/engines/bagel/hodjnpodj/mankala/mnklog.cpp b/engines/bagel/hodjnpodj/mankala/mnklog.cpp
index 00cd9d503a3..4cb77a87bec 100644
--- a/engines/bagel/hodjnpodj/mankala/mnklog.cpp
+++ b/engines/bagel/hodjnpodj/mankala/mnklog.cpp
@@ -711,6 +711,7 @@ BOOL CMnk::SearchMove(CMove * xpcMove, int &iMove)
 
 	case LEV_LOWEST:
 		StaticEvaluation(xpcMove);
+		// fall through
 	case LEV_HIGHEST:
 		AggressiveStaticEvaluation(xpcMove);
 		break;
diff --git a/engines/bagel/mfc/wnd.cpp b/engines/bagel/mfc/wnd.cpp
index e21655a21a3..350fdd8fcf7 100644
--- a/engines/bagel/mfc/wnd.cpp
+++ b/engines/bagel/mfc/wnd.cpp
@@ -761,6 +761,7 @@ BOOL CWnd::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT *pResult
 			CPoint(LOWORD(lParam), HIWORD(lParam)));
 		if (!lResult)
 			return FALSE;
+		break;
 
 	case AfxSig_vwpb:
 		(this->*mmf.pfn_vFb)((HFONT)wParam, (BOOL)lParam);


Commit: 3cfdade1129ab109b05efa6cc941f8bec000f198
    https://github.com/scummvm/scummvm/commit/3cfdade1129ab109b05efa6cc941f8bec000f198
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-06T14:43:18-07:00

Commit Message:
BAGEL: MINIGAMES: Fix incorrect cast in LineDDA call

Changed paths:
    engines/bagel/hodjnpodj/beacon/beacon.cpp


diff --git a/engines/bagel/hodjnpodj/beacon/beacon.cpp b/engines/bagel/hodjnpodj/beacon/beacon.cpp
index 976995e8ae1..a401419f9b1 100644
--- a/engines/bagel/hodjnpodj/beacon/beacon.cpp
+++ b/engines/bagel/hodjnpodj/beacon/beacon.cpp
@@ -977,7 +977,7 @@ void CMainWindow::CheckUnderBeam() {
 		End.y = Start.y + (int)(y * radius);
 
 		bChanged = TRUE;
-		LineDDA(Start.x, Start.y, End.x, End.y, StepAlongLine, (long)pDC);
+		LineDDA(Start.x, Start.y, End.x, End.y, StepAlongLine, (LPARAM)pDC);
 
 		degrees += 1.0F;
 	} // end while




More information about the Scummvm-git-logs mailing list