[Scummvm-git-logs] scummvm master -> cc9e8611bd0537f8f3c7b15adfd8b53e9f3defa6
Strangerke
noreply at scummvm.org
Sun Apr 30 17:09:13 UTC 2023
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:
cc9e8611bd EFH: Fix subtle bug in handleTalk (thanks pvs-studio)
Commit: cc9e8611bd0537f8f3c7b15adfd8b53e9f3defa6
https://github.com/scummvm/scummvm/commit/cc9e8611bd0537f8f3c7b15adfd8b53e9f3defa6
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2023-04-30T18:09:06+01:00
Commit Message:
EFH: Fix subtle bug in handleTalk (thanks pvs-studio)
Changed paths:
engines/efh/efh.cpp
diff --git a/engines/efh/efh.cpp b/engines/efh/efh.cpp
index ae24b38558c..3bfdd0c0675 100644
--- a/engines/efh/efh.cpp
+++ b/engines/efh/efh.cpp
@@ -1853,7 +1853,7 @@ bool EfhEngine::handleTalk(int16 monsterId, int16 arg2, int16 itemId) {
}
break;
case 5:
- if (arg2 == 2 && _npcBuf[npcId].field11_NpcId == itemId) {
+ if (arg2 == 3 && _npcBuf[npcId].field11_NpcId == itemId) {
displayMonsterAnim(monsterId);
displayImp1Text(_npcBuf[npcId].field14_textId);
displayAnimFrames(0xFE, true);
More information about the Scummvm-git-logs
mailing list