[Freeciv-Dev] (PR#9347) Re: Re: Paratroopers problem
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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)) {
|
|