From 3afd58ac01031ec76230b70e5b6a1e9599d89aa3 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 21 May 2012 14:06:09 +0300 Subject: [PATCH] fix for multihunter village in install: now he always will be village of 4-4-4-6 --- install/include/wdata.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install/include/wdata.php b/install/include/wdata.php index 9e8dbab0..383ed27c 100644 --- a/install/include/wdata.php +++ b/install/include/wdata.php @@ -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)."";