diff --git a/src/battle/entities.c b/src/battle/entities.c index 30431d7..2b3e1ab 100644 --- a/src/battle/entities.c +++ b/src/battle/entities.c @@ -677,6 +677,11 @@ void updateEntitySide(char *sideStr, char *name) if (strcmp(e->name, name) == 0) { e->side = side; + + if (e->side != player->side) + { + e->flags |= EF_MISSION_TARGET; + } } } }