Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
July 2004: [Freeciv-Dev] Re: Paratroopers problem |
[Freeciv-Dev] Re: Paratroopers problem[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Christian Knoke wrote: if (get_transporter_occupancy(punit) > 0) { notify_player_ex(pplayer, punit->x, punit->y, E_NOEVENT, _("Game: You cannot paradrop a transporter unit.")); } What does this message mean, is it correct? "transported unit"? Why? A paratrooper cannot transport anything. A paratrooper needs to be inside a city in order to paradrop. You cannot drop a unit that is transporting other units. So if you add the paradrop flag to some transporter unit in the ruleset, you won't be able to paradrop if it's carrying units. Except... Also, return FALSE; missing? So it would seem. jason
|