Skip to content

Crash in Order Flag viewport draw #2111

@duncanspumpkin

Description

@duncanspumpkin

Version information:

  • Platform: Windows 10
  • Version: 23.08 ? probably .1 as well as it doesn't seem related to the .1 fix

Describe the bug
Crash at

auto* order = orderRing.atIndex(0);
with a nullptr for the order. Unsure how this state was reached but it would be easy to prevent it from causing a crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-openlocoA problem or bug in OpenLoco (but not vanilla)good first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions