Skip to content

Historical lunar landing crash #40

@willglynn

Description

@willglynn

I get "re-entry corridor" leading to "orbital insertion", followed by another lunar landing sequence, followed by a crash in Launch():

for (i = 0; i < 1 + JOINT; i++) {
    /* XXX: was MANNED[i]+1, but why? */
    for (j = 0; j < MANNED[i]; j++) {
        if (MA[i][j].A) {
            if (FINAL >= 100) {
                MA[i][j].A->Mis = 1;    // Successful
            } else if (Data->P[plr].Other & 4) {
                MA[i][j].A->Mis = 2;    // Failure
            }
        }
    }
}

Everything seems successful, but it segfaults on the "Failure" branch here with i = 0, j = 9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAn issue that causes a crash or an invalid or undesirable game state.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions