[Scummvm-git-logs] scummvm master -> 9452bb185efbf34b49b57b31cdf1354c1b22ac18
bluegr
noreply at scummvm.org
Sat Jul 13 08:37:01 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:
9452bb185e DGDS: Fix typo
Commit: 9452bb185efbf34b49b57b31cdf1354c1b22ac18
https://github.com/scummvm/scummvm/commit/9452bb185efbf34b49b57b31cdf1354c1b22ac18
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-07-13T11:36:52+03:00
Commit Message:
DGDS: Fix typo
Changed paths:
engines/dgds/inventory.cpp
diff --git a/engines/dgds/inventory.cpp b/engines/dgds/inventory.cpp
index 5f904678c0d..f392df1e957 100644
--- a/engines/dgds/inventory.cpp
+++ b/engines/dgds/inventory.cpp
@@ -273,7 +273,7 @@ GameItem *Inventory::itemUnderMouse(const Common::Point &pt) {
bool Inventory::isItemInInventory(GameItem &item) {
DgdsEngine *engine = static_cast<DgdsEngine *>(g_engine);
DgdsGameId gameId = engine->getGameId();
- bool result = item._inSceneNum == 2; // || (item._flags & 4)
+ bool result = item._inSceneNum == 2; // && (item._flags & 4)
if (gameId == GID_HOC) {
byte gameCharacterQuality[] = { 0, 9, 7, 8 }; // TODO: Move this elsewhere?
int16 currentCharacter = engine->getGDSScene()->getGlobal(0x33);
More information about the Scummvm-git-logs
mailing list