Index: ai/aiunit.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/ai/aiunit.c,v retrieving revision 1.311 diff -u -r1.311 aiunit.c --- ai/aiunit.c 25 Feb 2004 20:23:49 -0000 1.311 +++ ai/aiunit.c 29 Apr 2004 19:41:20 -0000 @@ -1115,6 +1115,8 @@ UNIT_LOG(LOGLEVEL_BODYGUARD, punit, "to meet charge %s#%d@(%d,%d){%d}", unit_type(aunit)->name, aunit->id, aunit->x, aunit->y, aunit->ai.bodyguard); + } else if (acity) { + UNIT_LOG(LOGLEVEL_BODYGUARD, punit, "to guard %s", acity->name); } if (!same_pos(punit->x, punit->y, x, y)) { @@ -1124,13 +1126,12 @@ /* can't possibly get there to help */ ai_unit_new_role(punit, AIUNIT_NONE, -1, -1); } - } else { - /* I had these guys set to just fortify, which is so dumb. -- Syela - * Instead we can attack adjacent units and maybe even pick up some free - * cities! */ - (void) ai_military_rampage(punit, 40 * SHIELD_WEIGHTING, - RAMPAGE_FREE_CITY_OR_BETTER); } + /* I had these guys set to just fortify, which is so dumb. -- Syela + * Instead we can attack adjacent units and maybe even pick up some free + * cities! */ + (void) ai_military_rampage(punit, SHIELD_WEIGHTING * 4, /* WAG */ + RAMPAGE_FREE_CITY_OR_BETTER); } /*************************************************************************