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.