Exemplo n.º 1
0
bool is_mourning(const region * r, int in_turn)
{
    int change = owner_change(r);
    return (change == in_turn - 1
        && (r->land->ownership->flags & OWNER_MOURNING));
}
Exemplo n.º 2
0
Arquivo: region.c Projeto: stm2/server
bool is_mourning(const region * r, int in_turn)
{
    int change = owner_change(r);
    return (change == in_turn - 1 && r->land->ownership->last_owner && r->land->ownership->owner
        && r->land->ownership->last_owner != r->land->ownership->owner);
}