[Scummvm-git-logs] scummvm master -> 2d568a8e496e2641bbc68a8fa41b34ef90f3b18f
mduggan
noreply at scummvm.org
Sun Apr 6 07:50:24 UTC 2025
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:
2d568a8e49 DGDS: Call scene mouse ops in default path for inventory
Commit: 2d568a8e496e2641bbc68a8fa41b34ef90f3b18f
https://github.com/scummvm/scummvm/commit/2d568a8e496e2641bbc68a8fa41b34ef90f3b18f
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2025-04-06T17:50:15+10:00
Commit Message:
DGDS: Call scene mouse ops in default path for inventory
If there is no inventory-specific mouse action, fall back to the scene mouse
action.
This is a regression from other mouse behavior fixes that broke taking items
away from lucky (in HoC) or Blade (in Dragon). This fixes #15851.
Changed paths:
engines/dgds/inventory.cpp
diff --git a/engines/dgds/inventory.cpp b/engines/dgds/inventory.cpp
index 336f6708e4c..691ea30bfd5 100644
--- a/engines/dgds/inventory.cpp
+++ b/engines/dgds/inventory.cpp
@@ -336,7 +336,7 @@ void Inventory::mouseUpdate(const Common::Point &pt) {
close();
}
} else {
- engine->setMouseCursor(kDgdsMouseGameDefault);
+ engine->getScene()->mouseUpdate(pt);
}
}
@@ -463,6 +463,8 @@ void Inventory::mouseLUp(const Common::Point &pt) {
break;
}
}
+ } else {
+ engine->getScene()->mouseLUp(pt);
}
}
More information about the Scummvm-git-logs
mailing list