Author: sveinung
Date: Tue Feb  9 19:03:48 2016
New Revision: 31842

URL: http://svn.gna.org/viewcvs/freeciv?rev=31842&view=rev
Log:
Fix "no paradrop while transporting" enforcement.

See bug #24392

Modified:
    branches/S2_6/server/unittools.c

Modified: branches/S2_6/server/unittools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/unittools.c?rev=31842&r1=31841&r2=31842&view=diff
==============================================================================
--- branches/S2_6/server/unittools.c    (original)
+++ branches/S2_6/server/unittools.c    Tue Feb  9 19:03:48 2016
@@ -2669,6 +2669,7 @@
     notify_player(pplayer, unit_tile(punit), E_BAD_COMMAND, ftc_server,
                   _("You cannot paradrop a unit that is "
                     "transporting other units."));
+    return FALSE;
   }
 
   if (!map_is_known(ptile, pplayer)) {


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

Reply via email to