This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Bug in unit ownership involving wrecked-type and occupant-escape-chance
- From: Hans Ronne <hronne at telia dot com>
- To: Lincoln Peters <sampln at sbcglobal dot net>
- Cc: xconq7 at sources dot redhat dot com
- Date: Mon, 2 Jun 2003 00:09:30 +0200
- Subject: Re: Bug in unit ownership involving wrecked-type and occupant-escape-chance
>I have noticed that if a unit is wrecked and becomes a unit available to
>only one side (e.g. ruins in beirut.g, wreck in panzer.g), it changes
>side, along with any occupants it might have. However, it seems that if
>any of the occupants escape (as per occupant-escape-chance), they change
>sides *before* they escape.
I have examined the code, and it does indeed do what you claim, though I
have never seen it happen myself. The reason why these occupants are
escaping has nothing to do with occupant-escape-chance, though. That table
applies only to cases where the transport is either destroyed completely or
captured. If it is wrecked (and thus becomes independent) the occupants
actually change side 100% of the time. And any occupants that cannot fit
into the wreck (usually all of them) get ejected.
The obvious fix would be to let occupant-escape-chance apply also to
wrecked units, and then kill every occupant that does not escape. I can see
no point in letting occupants stay in burning tanks or blown up buildings
without being killed, as is now possible. Comments?
Hans