Skip to content

Incorrect logic in ACT1Q2_Callback03_ChangedLevel #227

Description

@Necrolis

the following branch will never trigger

if (pQuestData->fState < 3)

due to this branch a few lines before:
if (pQuestData->fState < 3)

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions