Author: cazfi
Date: Thu Aug 20 22:41:47 2015
New Revision: 29616

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

See bug #23801

Modified:
    branches/S2_6/server/citytools.c

Modified: branches/S2_6/server/citytools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/citytools.c?rev=29616&r1=29615&r2=29616&view=diff
==============================================================================
--- branches/S2_6/server/citytools.c    (original)
+++ branches/S2_6/server/citytools.c    Thu Aug 20 22:41:47 2015
@@ -1674,7 +1674,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