Skip to content

Segfault when killing a Pirate in the Caribbean in binary/ternary tilings #448

@josephcsible

Description

@josephcsible

When killing a Pirate in the Caribbean in binary or ternary tilings, the game will segfault. The problem is here:

if(eubinary || c->master->alt) return c->master->alt->alt;

eubinary is true, but c->master->alt is null, so dereferencing it with c->master->alt->alt causes the segfault. I'm not sure what it's supposed to do instead, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions