[Freeciv-Dev] bugs in transfer_city_units
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
It did not take into account that pcity could sometimes be NULL.
Also when iterating through units outside a city and disbading them give
the myiter belonging to unit_list_iterate as argument to
wipe_unit_spec_safe. This means that if wipe_unit_spec_safe accidentally
deletes the next unit in the unitlist (when deleting units on board a
wiped ship) it will advance myiter.
But this is NOT the one that caused the crash in map_adjust_[xy] reported
earlier, I think. I still have 2 candidates to check, though. (this was
one of 4)
-Thue
(for the record, these bugs were NOT introduced by me, for once :P)
crash-May-12.diff
Description: Text Data
- [Freeciv-Dev] bugs in transfer_city_units,
Thue Janus Kristensen <=
|
|