ThePhrozenKeep/D2MOO

Incorrect logic in `ACT1Q2_Callback03_ChangedLevel`

Open

#227 创建于 2026年7月8日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C++ (48 fork)auto 404
buggood first issue

仓库指标

Star
 (159 star)
PR 合并指标
 (PR 指标待抓取)

描述

the following branch will never trigger https://github.com/ThePhrozenKeep/D2MOO/blob/19019806df7f3e877fa105b05395d1e3597e2316/source/D2Game/src/QUESTS/ACT1/A1Q2.cpp#L478 due to this branch a few lines before: https://github.com/ThePhrozenKeep/D2MOO/blob/19019806df7f3e877fa105b05395d1e3597e2316/source/D2Game/src/QUESTS/ACT1/A1Q2.cpp#L465

In vanilla this case is handled by a boolean stored on the stack that will be set by the first check on pQuestData->fState. This was verified by the 1.13c assembly at D2Game.0x64EE9 (its a bit tooo complex to post inline unfortunately).

贡献者指南