[Scummvm-git-logs] scummvm master -> 89109e28aff6a16a0f3f900e36f9093ce8e67de6

sev- noreply at scummvm.org
Tue Sep 17 22:11:51 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:
89109e28af QDENGINE: Fixes to ShveikShkatulka.dll. Still doesn't work fully


Commit: 89109e28aff6a16a0f3f900e36f9093ce8e67de6
    https://github.com/scummvm/scummvm/commit/89109e28aff6a16a0f3f900e36f9093ce8e67de6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-09-18T00:11:06+02:00

Commit Message:
QDENGINE: Fixes to ShveikShkatulka.dll. Still doesn't work fully

Changed paths:
    engines/qdengine/minigames/shveik_shkatulka.h


diff --git a/engines/qdengine/minigames/shveik_shkatulka.h b/engines/qdengine/minigames/shveik_shkatulka.h
index 62a10892689..c985e9e47bb 100644
--- a/engines/qdengine/minigames/shveik_shkatulka.h
+++ b/engines/qdengine/minigames/shveik_shkatulka.h
@@ -139,9 +139,13 @@ public:
 						if (curPos.y <= _mousePos.y) {
 							if (draggedStonePos == 3)
 								delta = 186;
+							else
+								delta = 0;
 						} else {
 							if (draggedStonePos == 8)
 								delta = 196;
+							else
+								delta = 0;
 						}
 						off = delta + 150;
 					}
@@ -381,7 +385,7 @@ private:
 	bool _cursorTakenFlag = false;
 
 	mgVect2i _mousePos;
-	mgVect2f _mouseDelta;
+	mgVect2i _mouseDelta;
 	int _someVar3 = 0;
 	bool _someFlag1 = false;
 




More information about the Scummvm-git-logs mailing list