Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#4769) memory error with disbanded city
Home

[Freeciv-Dev] (PR#4769) memory error with disbanded city

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#4769) memory error with disbanded city
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Aug 2003 15:21:59 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[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

Attachment: disband-4.diff
Description: disband-4.diff


[Prev in Thread] Current Thread [Next in Thread]