Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9347) Re: Re: Paratroopers problem
Home

[Freeciv-Dev] (PR#9347) Re: Re: Paratroopers problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#9347) Re: Re: Paratroopers problem
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Jul 2004 12:55:26 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9347 >

> [chrisk@xxxxxxxxx - Mon Jul 12 09:45:58 2004]:

> So the message is buggy, it should read "You cannot paradrop a unit
> that is
> transporting other units."

Here's a patch.

jason

Index: server/unittools.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/unittools.c,v
retrieving revision 1.294
diff -u -r1.294 unittools.c
--- server/unittools.c  1 Jun 2004 19:44:24 -0000       1.294
+++ server/unittools.c  14 Jul 2004 19:54:46 -0000
@@ -2204,7 +2204,9 @@
 
   if (get_transporter_occupancy(punit) > 0) {
     notify_player_ex(pplayer, punit->x, punit->y, E_NOEVENT,
-                    _("Game: You cannot paradrop a transporter unit."));
+                    _("Game: You cannot paradrop a unit that is "
+                      "transporting other units."));
+    return FALSE;
   }
 
   if (!map_is_known(dest_x, dest_y, pplayer)) {

[Prev in Thread] Current Thread [Next in Thread]