Author: sveinung
Date: Wed Feb 25 08:12:30 2015
New Revision: 28308

URL: http://svn.gna.org/viewcvs/freeciv?rev=28308&view=rev
Log:
Allow the orders system to order a unit to pillage.

See patch #5861

Modified:
    branches/S2_6/server/unithand.c

Modified: branches/S2_6/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/unithand.c?rev=28308&r1=28307&r2=28308&view=diff
==============================================================================
--- branches/S2_6/server/unithand.c     (original)
+++ branches/S2_6/server/unithand.c     Wed Feb 25 08:12:30 2015
@@ -2870,6 +2870,7 @@
       switch (packet->activity[i]) {
       case ACTIVITY_FALLOUT:
       case ACTIVITY_POLLUTION:
+      case ACTIVITY_PILLAGE:
       case ACTIVITY_MINE:
       case ACTIVITY_IRRIGATE:
       case ACTIVITY_TRANSFORM:
@@ -2892,7 +2893,6 @@
         }
         break;
       /* Not supported yet. */
-      case ACTIVITY_PILLAGE:
       case ACTIVITY_FORTIFYING:
       case ACTIVITY_CONVERT:
       case ACTIVITY_EXPLORE:


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to