[Scummvm-git-logs] scummvm branch-2-7 -> 8aaa41106092a9940f5aaf9ca837feca3bbb8270
sev-
noreply at scummvm.org
Mon Feb 20 18:43:18 UTC 2023
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
49b51e1f6a HDB: Fixed not being able to pick up Red Unimail Envelope with keyboard
8aaa411060 NEWS: Mention HDB fix
Commit: 49b51e1f6a30a00945ef609e08c854bbdfb22092
https://github.com/scummvm/scummvm/commit/49b51e1f6a30a00945ef609e08c854bbdfb22092
Author: Zach Showers (linkpro400 at gmail.com)
Date: 2023-02-20T19:41:50+01:00
Commit Message:
HDB: Fixed not being able to pick up Red Unimail Envelope with keyboard
Changed paths:
engines/hdb/ai-funcs.cpp
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index 73a2938c947..8b1c95a9221 100644
--- a/engines/hdb/ai-funcs.cpp
+++ b/engines/hdb/ai-funcs.cpp
@@ -2384,6 +2384,12 @@ void AI::movePlayer(uint16 buttons) {
int ny = _player->tileY + yva[_player->dir];
AIEntity *hit = findEntity(nx, ny);
+ if (hit && hit->type == AI_NONE) {
+ AIEntity *temp = g_hdb->_ai->findEntityIgnore(nx, ny, hit);
+ if (temp)
+ hit = temp;
+ }
+
// the reason to check for no entity or an AI_NONE is because
// there's a possibility that an actual entity and a LUA entity
// can share the same spot, so we need to be able to deal with
Commit: 8aaa41106092a9940f5aaf9ca837feca3bbb8270
https://github.com/scummvm/scummvm/commit/8aaa41106092a9940f5aaf9ca837feca3bbb8270
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-20T19:43:01+01:00
Commit Message:
NEWS: Mention HDB fix
Changed paths:
NEWS.md
diff --git a/NEWS.md b/NEWS.md
index 2ef818b3435..fc1220c9068 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,13 @@
For a more comprehensive changelog of the latest experimental code, see:
https://github.com/scummvm/scummvm/commits/
+#### 2.7.1 (2023-XX-XX)
+
+ HDB:
+ - Fixed bug with inability to pick up red envelope with keyboard.
+
+
+
#### 2.7.0 (2023-02-26)
New games:
More information about the Scummvm-git-logs
mailing list