Author: sveinung
Date: Mon Feb 15 18:22:52 2016
New Revision: 31932

URL: http://svn.gna.org/viewcvs/freeciv?rev=31932&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:
    branches/S2_6/client/control.c

Modified: branches/S2_6/client/control.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/control.c?rev=31932&r1=31931&r2=31932&view=diff
==============================================================================
--- branches/S2_6/client/control.c      (original)
+++ branches/S2_6/client/control.c      Mon Feb 15 18:22:52 2016
@@ -1494,11 +1494,12 @@
 
 /**************************************************************************
   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).
+  - value     : For ACTION_SPY_TARGETED_STEAL_TECH or
+                ACTION_SPY_TARGETED_SABOTAGE_CITY, the technology or
+                building to aim for.
 **************************************************************************/
 void request_do_action(enum gen_action action, int actor_id,
                        int target_id, int value)


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

Reply via email to