<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40628 >

 Help text claims that each and every unit "can attack against xxx
units, which are usually unreachable". In default ruleset this shows
up like anybody would be able to attack Air units.


 Fix attached.


 - ML

diff -Nurd -X.diff_ignore freeciv/server/ruleset.c freeciv/server/ruleset.c
--- freeciv/server/ruleset.c    2008-12-28 14:53:34.000000000 +0200
+++ freeciv/server/ruleset.c    2009-01-05 21:49:28.000000000 +0200
@@ -3196,6 +3196,7 @@
     packet.paratroopers_mr_sub = u->paratroopers_mr_sub;
     packet.bombard_rate = u->bombard_rate;
     packet.cargo = u->cargo;
+    packet.targets = u->targets;
     for (i = 0; i < MAX_VET_LEVELS; i++) {
       sz_strlcpy(packet.veteran_name[i], u->veteran[i].name);
       packet.power_fact[i] = u->veteran[i].power_fact;
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to