[Freeciv-Dev] Re: [PATCH] more complete fix for PR#1214
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Jan 16, 2002 at 11:53:59PM -0600, Mike Kaufman wrote:
> I almost commited this along with Jason's patch, but I thought that I
> might see if you all can find something wrong with it first.
>
> in a nutshell, if you have a savefile with just the map and some start
> positions, it is (and should be) a perfectly valid savefile (it's a
> new_game). But you get scary messages when you shouldn't.
It still produces the messages. What about a more robust approach:
scan the savegame if it contains any "map.x" line and load the section
if you found at least one. The other way is to find under which
conditions which map sections are saved.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"At the beginning of the week, we sealed ten BSD programmers
into a computer room with a single distribution of BSD Unix.
Upon opening the room after seven days, we found all ten programmers
dead, clutching each other's throats, and thirteen new flavors of BSD."
|
|