Author: cazfi
Date: Thu Aug 20 22:41:55 2015
New Revision: 29617

URL: http://svn.gna.org/viewcvs/freeciv?rev=29617&view=rev
Log:
Really disband units trapped inside separated part of civ1-style channel.

See bug #23801

Modified:
    branches/S2_5/server/citytools.c

Modified: branches/S2_5/server/citytools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/citytools.c?rev=29617&r1=29616&r2=29617&view=diff
==============================================================================
--- branches/S2_5/server/citytools.c    (original)
+++ branches/S2_5/server/citytools.c    Thu Aug 20 22:41:55 2015
@@ -1694,7 +1694,7 @@
 
           if (!uclass_has_flag(pclass, UCF_BUILD_ANYWHERE)
               && !is_native_tile(punit->utype, piter)
-              && is_city_channel_tile(pclass, piter, pcenter)) {
+              && !is_city_channel_tile(pclass, piter, pcenter)) {
             notify_player(unit_owner(punit), unit_tile(punit),
                           E_UNIT_LOST_MISC, ftc_server,
                           _("When %s was disbanded your %s in %s was trapped, "


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

Reply via email to