Author: sveinung
Date: Wed Sep  9 11:26:23 2015
New Revision: 29828

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

See patch #6333

Modified:
    trunk/server/unithand.c

Modified: trunk/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.c?rev=29828&r1=29827&r2=29828&view=diff
==============================================================================
--- trunk/server/unithand.c     (original)
+++ trunk/server/unithand.c     Wed Sep  9 11:26:23 2015
@@ -3934,13 +3934,12 @@
       case ACTION_SPY_NUKE:
       case ACTION_NUKE:
       case ACTION_DESTROY_CITY:
+      case ACTION_EXPEL_UNIT:
         /* No validation required. */
         break;
       /* Needs additional target information. */
       case ACTION_SPY_TARGETED_SABOTAGE_CITY:
       case ACTION_SPY_TARGETED_STEAL_TECH:
-      /* Targets a single unit. */
-      case ACTION_EXPEL_UNIT:
         log_error("handle_unit_orders() the action %s isn't allowed in "
                   "orders. "
                   "Sent in order number %d from %s to unit number %d.",


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

Reply via email to