Author: sveinung
Date: Tue Feb  9 17:49:08 2016
New Revision: 31840

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

See bug #24392

Modified:
    trunk/server/unittools.c

Modified: trunk/server/unittools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unittools.c?rev=31840&r1=31839&r2=31840&view=diff
==============================================================================
--- trunk/server/unittools.c    (original)
+++ trunk/server/unittools.c    Tue Feb  9 17:49:08 2016
@@ -2751,6 +2751,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