Author: sveinung
Date: Mon Oct 26 16:41:36 2015
New Revision: 30217

URL: http://svn.gna.org/viewcvs/freeciv?rev=30217&view=rev
Log:
Fix comments that talked about Spy/Diplomat

in code that show the action selection dialog for all actors.

Modified:
    trunk/client/gui-gtk-2.0/action_dialog.c
    trunk/client/gui-gtk-3.0/action_dialog.c
    trunk/client/gui-qt/dialogs.cpp
    trunk/client/gui-sdl2/action_dialog.c

Modified: trunk/client/gui-gtk-2.0/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-2.0/action_dialog.c?rev=30217&r1=30216&r2=30217&view=diff
==============================================================================
--- trunk/client/gui-gtk-2.0/action_dialog.c    (original)
+++ trunk/client/gui-gtk-2.0/action_dialog.c    Mon Oct 26 16:41:36 2015
@@ -1275,7 +1275,7 @@
   shl = choice_dialog_start(GTK_WINDOW(toplevel), astr_str(&title),
                             astr_str(&text));
 
-  /* Spy/Diplomat acting against a city */
+  /* Unit acting against a city */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT
@@ -1289,7 +1289,7 @@
     }
   } action_iterate_end;
 
-  /* Spy/Diplomat acting against a unit */
+  /* Unit acting against another unit */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT
@@ -1302,7 +1302,7 @@
     }
   } action_iterate_end;
 
-  /* Spy/Diplomat acting against all units at a tile */
+  /* Unit acting against all units at a tile */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT

Modified: trunk/client/gui-gtk-3.0/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/action_dialog.c?rev=30217&r1=30216&r2=30217&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.0/action_dialog.c    (original)
+++ trunk/client/gui-gtk-3.0/action_dialog.c    Mon Oct 26 16:41:36 2015
@@ -1285,7 +1285,7 @@
   shl = choice_dialog_start(GTK_WINDOW(toplevel), astr_str(&title),
                             astr_str(&text));
 
-  /* Spy/Diplomat acting against a city */
+  /* Unit acting against a city */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT
@@ -1299,7 +1299,7 @@
     }
   } action_iterate_end;
 
-  /* Spy/Diplomat acting against a unit */
+  /* Unit acting against another unit */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT
@@ -1312,7 +1312,7 @@
     }
   } action_iterate_end;
 
-  /* Spy/Diplomat acting against all units at a tile */
+  /* Unit acting against all units at a tile */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT

Modified: trunk/client/gui-qt/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/dialogs.cpp?rev=30217&r1=30216&r2=30217&view=diff
==============================================================================
--- trunk/client/gui-qt/dialogs.cpp     (original)
+++ trunk/client/gui-qt/dialogs.cpp     Mon Oct 26 16:41:36 2015
@@ -1373,7 +1373,7 @@
     cd->target_id[ATK_TILE] = IDENTITY_NUMBER_ZERO;
   }
 
-  /* Spy/Diplomat acting against a city */
+  /* Unit acting against a city */
 
   /* Set the correct target for the following actions. */
   qv2 = cd->target_id[ATK_CITY];
@@ -1390,7 +1390,7 @@
     }
   } action_iterate_end;
 
-  /* Spy/Diplomat acting against a unit */
+  /* Unit acting against another unit */
 
   /* Set the correct target for the following actions. */
   qv2 = cd->target_id[ATK_UNIT];

Modified: trunk/client/gui-sdl2/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-sdl2/action_dialog.c?rev=30217&r1=30216&r2=30217&view=diff
==============================================================================
--- trunk/client/gui-sdl2/action_dialog.c       (original)
+++ trunk/client/gui-sdl2/action_dialog.c       Mon Oct 26 16:41:36 2015
@@ -1135,7 +1135,7 @@
   pDiplomat_Dlg->target_ids[ATK_SELF] = actor_unit->id;
 
   /* ---------- */
-  /* Spy/Diplomat acting against a city */
+  /* Unit acting against a city */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT
@@ -1148,7 +1148,7 @@
     }
   } action_iterate_end;
 
-  /* Spy/Diplomat acting against a unit */
+  /* Unit acting against another unit */
 
   action_iterate(act) {
     if (action_get_actor_kind(act) == AAK_UNIT


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

Reply via email to