Skip to content

[GEN] Unwrapped loop in GameLogic::rebalanceChildSleepyUpdate causes problems under debug #538

Closed
@Mauller

Description

@Mauller

Area(s) with this issue?

No response

Describe the issue

The "Fast" unrolled loop in GameLogic.cpp on line 2510 casues stl library asserts when run under debug.

There is something wrong with how it is handling the iterator, this could be due to STLPORT differences.

Steps to reproduce

Run Generals under debug in VS22

Attachments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working rightGenRelates to GeneralsMinorSeverity: Minor < Major < Critical < BlockerZHRelates to Zero Hour

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions