Author: sveinung
Date: Mon Feb 15 18:22:37 2016
New Revision: 31931

URL: http://svn.gna.org/viewcvs/freeciv?rev=31931&view=rev
Log:
request_do_action() header comment update.

Targeted steal tech and sabotage city are now actions. The rule limiting
them to spies has moved to the ruleset.

Modified:
    trunk/client/control.c

Modified: trunk/client/control.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/control.c?rev=31931&r1=31930&r2=31931&view=diff
==============================================================================
--- trunk/client/control.c      (original)
+++ trunk/client/control.c      Mon Feb 15 18:22:37 2016
@@ -1562,12 +1562,13 @@
 
 /**************************************************************************
   Request an actor unit to do a specific action.
-  - action : The action to be requested.
-  - actor_id : The unit ID of the actor unit.
+  - action    : The action to be requested.
+  - actor_id  : The unit ID of the actor unit.
   - target_id : The ID of the target unit, city or tile.
-  - value : For DIPLOMAT_STEAL or DIPLOMAT_SABOTAGE, the technology
-            or building to aim for (spies only).
-  - name : Used by ACTION_FOUND_CITY to specify city name.
+  - value     : For ACTION_SPY_TARGETED_STEAL_TECH or
+                ACTION_SPY_TARGETED_SABOTAGE_CITY, the technology or
+                building to aim for.
+  - name      : Used by ACTION_FOUND_CITY to specify city name.
 **************************************************************************/
 void request_do_action(enum gen_action action, int actor_id,
                        int target_id, int value, const char *name)


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

Reply via email to