Author: cazfi
Date: Wed Jul 12 23:43:32 2006
New Revision: 12070

URL: http://svn.gna.org/viewcvs/freeciv?rev=12070&view=rev
Log:
Changed wipe_unit() logic.

First we remove units from wiped transport.
Then we iterate through these drowning units and
try to find free transport for each. If one is
found, unit is loaded in to it. Otherwise unit dies.

This fixes problems that passengers from surviving
transport drown while units from wiped transport
are saved.


See #18380

Modified:
    trunk/common/movement.c
    trunk/common/movement.h
    trunk/server/unittools.c


_______________________________________________
Freeciv-commits mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to