fix for multihunter village in install: now he always will be village of 4-4-4-6

This commit is contained in:
unknown
2012-05-21 14:06:09 +03:00
parent 560833e573
commit 3afd58ac01
+5 -1
View File
@@ -19,6 +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{
$rand=rand(1, 1000);
if("10" >= $rand){
$typ='1';
@@ -93,7 +97,7 @@ $y=(WORLD_MAX-$i);
$typ='0';
$otype='12';
}
}
//image pick
if($otype=='0'){
$image="t".rand(0,9)."";