Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: [PATCH] more complete fix for PR#1214
Home

[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]
To: Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>
Cc: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [PATCH] more complete fix for PR#1214
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Jan 2002 10:23:18 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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."


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