[Scummvm-git-logs] scummvm master -> 1c433dd67da80d6be2b2857f8c071f4397d4ad3a

aquadran noreply at scummvm.org
Sun Sep 28 15:30:25 UTC 2025


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

Summary:
1c433dd67d WINTERMUTE: Fixed compilation


Commit: 1c433dd67da80d6be2b2857f8c071f4397d4ad3a
    https://github.com/scummvm/scummvm/commit/1c433dd67da80d6be2b2857f8c071f4397d4ad3a
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-09-28T17:30:19+02:00

Commit Message:
WINTERMUTE: Fixed compilation

Changed paths:
    engines/wintermute/base/base_access_mgr.cpp


diff --git a/engines/wintermute/base/base_access_mgr.cpp b/engines/wintermute/base/base_access_mgr.cpp
index f1a43f5efaf..818b646c36c 100644
--- a/engines/wintermute/base/base_access_mgr.cpp
+++ b/engines/wintermute/base/base_access_mgr.cpp
@@ -120,10 +120,10 @@ bool BaseAccessMgr::displayInternal() {
 			p.x += _game->_renderer->_drawOffsetX;
 			p.y += _game->_renderer->_drawOffsetY;
 
-			p.x = MAX(0, p.x);
-			p.y = MAX(0, p.y);
-			p.x = MIN(_game->_renderer->_width - 1, p.x);
-			p.y = MIN(_game->_renderer->_height - 1, p.y);
+			p.x = MAX<int32>(0, p.x);
+			p.y = MAX<int32>(0, p.y);
+			p.x = MIN<int32>(_game->_renderer->_width - 1, p.x);
+			p.y = MIN<int32>(_game->_renderer->_height - 1, p.y);
 
 			//ClientToScreen(Game->m_Renderer->m_Window, &p);
 			BasePlatform::setCursorPos(p.x, p.y);




More information about the Scummvm-git-logs mailing list