fix Field Natar village set to type=3

This commit is contained in:
Shadowss
2013-10-25 09:57:52 +03:00
parent 989daecb93
commit 2e41925e37
+4 -4
View File
@@ -19,10 +19,10 @@ $y=(WORLD_MAX-$i);
$x=((WORLD_MAX*-1)+$j); $x=((WORLD_MAX*-1)+$j);
//choose a field type //choose a field type
if($x == 0 & $y == 0){ if(($x == 0 & $y == 0) || ($x == WORLD_MAX & $y == WORLD_MAX)) {
$typ='3'; $typ='3';
$otype='0'; $otype='0';
}else{ }else{
$rand=rand(1, 1000); $rand=rand(1, 1000);
if("10" >= $rand){ if("10" >= $rand){
$typ='1'; $typ='1';