Author: sveinung
Date: Sun Sep  6 13:05:40 2015
New Revision: 29789

URL: http://svn.gna.org/viewcvs/freeciv?rev=29789&view=rev
Log:
orders system: support the "Sabotage Unit" action

See patch #6322

Modified:
    trunk/server/unithand.c

Modified: trunk/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.c?rev=29789&r1=29788&r2=29789&view=diff
==============================================================================
--- trunk/server/unithand.c     (original)
+++ trunk/server/unithand.c     Sun Sep  6 13:05:40 2015
@@ -3921,6 +3921,7 @@
       case ACTION_MARKETPLACE:
       case ACTION_HELP_WONDER:
       case ACTION_SPY_BRIBE_UNIT:
+      case ACTION_SPY_SABOTAGE_UNIT:
       case ACTION_CAPTURE_UNITS:
       case ACTION_JOIN_CITY:
       case ACTION_STEAL_MAPS:
@@ -3934,7 +3935,6 @@
       case ACTION_SPY_TARGETED_SABOTAGE_CITY:
       case ACTION_SPY_TARGETED_STEAL_TECH:
       /* Targets a single unit. */
-      case ACTION_SPY_SABOTAGE_UNIT:
       case ACTION_EXPEL_UNIT:
         log_error("handle_unit_orders() the action %s isn't allowed in "
                   "orders. "


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

Reply via email to