Example #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));
}
Example #2
0
File: region.c Project: 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);
}