[Freeciv-Dev] (PR#4769) memory error with disbanded city
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[jdorje - Thu Aug 7 21:35:22 2003]:
> [jdorje - Wed Aug 6 22:33:13 2003]:
>
> > This one should do the trick...I hope. I'm not sure about the
update to
> > pcity->shield_surplus; will this work under all government types?
> >
> > Note if the city is destroyed the other patch is still needed to avoid
> > memory corruption. Also note if this happens the undisbandable unit
> > will be disbanded. Per and I discussed taking 4*upkeep worth of gold
> > instead of disbanding the city, but decided against it.
>
> And an update of this patch.
Sigh...here's the correct patch. Compiled but untested.
jason
disband-4.diff
Description: disband-4.diff
|
|