empserver/src/lib/update
Markus Armbruster c2c0d1ff77 Fix update to take dead units off carriers
upd_plane() upd_land() and left planes and land units lost to lack of
maintenance on their carriers.  Cargo lists were fine anyway, because
unit_cargo_init() ignored dead units.  But when the dead unit got
reused for building a new one, pln_prewrite() / lnd_prewrite() got
confused and attempted to take it off its carrier, which made
clink_rem() oops, because the unit wasn't on the cargo list.  No real
harm done, as oops recovery was fine.

Fix upd_plane() and upd_land() to clear the carrier.  Make
unit_cargo_init() oops when it finds dead units on carriers.
2009-04-15 23:06:54 +02:00
..
age.c Update copyright notice 2009-02-08 09:33:18 +01:00
anno.c Update known contributors comments 2009-02-18 21:11:33 +01:00
bp.c Update copyright notice 2009-02-08 09:33:18 +01:00
deliver.c Update copyright notice 2009-02-08 09:33:18 +01:00
distribute.c Update copyright notice 2009-02-08 09:33:18 +01:00
finish.c Update copyright notice 2009-02-08 09:33:18 +01:00
human.c Update known contributors comments 2009-02-18 21:11:33 +01:00
land.c Fix update to take dead units off carriers 2009-04-15 23:06:54 +02:00
main.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
material.c Update copyright notice 2009-02-08 09:33:18 +01:00
mobility.c Update copyright notice 2009-02-08 09:33:18 +01:00
move_sat.c Update copyright notice 2009-02-08 09:33:18 +01:00
nat.c Update copyright notice 2009-02-08 09:33:18 +01:00
nav_ship.c Don't use 0 as null pointer constant, part 3 2009-03-24 21:46:01 +01:00
nav_util.c Update copyright notice 2009-02-08 09:33:18 +01:00
nxtitemp.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
plague.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
plane.c Fix update to take dead units off carriers 2009-04-15 23:06:54 +02:00
populace.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
prepare.c Update copyright notice 2009-02-08 09:33:18 +01:00
produce.c Update copyright notice 2009-02-08 09:33:18 +01:00
removewants.c Update copyright notice 2009-02-08 09:33:18 +01:00
revolt.c Don't use 0 as null pointer constant, part 2 2009-03-24 21:46:01 +01:00
sail.c Don't use 0 as null pointer constant, part 2 2009-03-24 21:46:01 +01:00
sect.c Don't use 0 as null pointer constant, part 1 2009-03-24 21:45:44 +01:00
ship.c Update known contributors comments 2009-02-18 21:11:33 +01:00