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
+5 -5
View File
@@ -19,10 +19,10 @@ $y=(WORLD_MAX-$i);
$x=((WORLD_MAX*-1)+$j);
//choose a field type
if($x == 0 & $y == 0){
$typ='3';
$otype='0';
}else{
if(($x == 0 & $y == 0) || ($x == WORLD_MAX & $y == WORLD_MAX)) {
$typ='3';
$otype='0';
}else{
$rand=rand(1, 1000);
if("10" >= $rand){
$typ='1';
@@ -113,4 +113,4 @@ $y=(WORLD_MAX-$i);
header("Location: ../index.php?s=4");
?>
?>