Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#3467) AI idles fortifying units that do not move
Home

[Freeciv-Dev] (PR#3467) AI idles fortifying units that do not move

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3467) AI idles fortifying units that do not move
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 18 Feb 2003 14:21:31 -0800
Reply-to: rt@xxxxxxxxxxxxxx

After I had _finally_ fixed this age old problem in the AI, it reappars.
The culprit is the new explorer code, which does this

bool ai_manage_explorer(struct unit *punit)
...
  /* Idle unit, since otherwise handle_unit_move_request fails!
   * TODO: Fix it and remove this idling */
  if (punit->activity != ACTIVITY_IDLE) {
    handle_unit_activity_request(punit, ACTIVITY_IDLE);
  }

All AI military units that don't know what they can do try exploration,
and so lose their fortification status. This is very bad. Please fix it.

  - Per




[Prev in Thread] Current Thread [Next in Thread]