Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] (PR#6183) barbarians on the poles
Home

[Freeciv-Dev] (PR#6183) barbarians on the poles

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6183) barbarians on the poles
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Sep 2003 15:15:42 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[jdorje - Wed Sep 17 20:33:46 2003]:

> In barbarians.c there is code to prevent barbarian uprisings on the 
> poles.  But this code is buggy: you won't get barbarians on the y==0 or 
> y==map.ysize-1 line but you can still get them on the y==1 and 
> y==map.ysize-2 line.
> 
> Moreover, this code makes assumptions about the terrain - namely, that 
> the poles exist and that they are at these locations.  Under 
> gen-topologies this isn't necessarily true, and should be up to the 
> mapgen code in any case.

The previous patch had a rediculous logical error.

jason

Attachment: polar_barbarians-2.diff
Description: polar_barbarians-2.diff


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