remove some rows from the horse drinking trought fix

This commit is contained in:
unknown
2012-06-13 13:58:27 +03:00
parent 4bfffe7a6c
commit 7ee9757038
-4
View File
@@ -392,7 +392,6 @@ class Technology {
$horsedrinking = $j; $horsedrinking = $j;
} }
} }
if($i>=4 && $i<=6 && $dataarray['drinking'] <= $buildarray['f'.$horsedrinking]) {
if(isset($horsedrinking)){ if(isset($horsedrinking)){
if(($i==4 && $buildarray['f'.$horsedrinking] >= 10) if(($i==4 && $buildarray['f'.$horsedrinking] >= 10)
|| ($i==5 && $buildarray['f'.$horsedrinking] >= 15) || ($i==5 && $buildarray['f'.$horsedrinking] >= 15)
@@ -403,9 +402,6 @@ class Technology {
}}else{ }}else{
$upkeep += $dataarray['pop'] * $array[$unit]; $upkeep += $dataarray['pop'] * $array[$unit];
} }
}else{
$upkeep += $dataarray['pop'] * $array[$unit];
}
} }
// $unit = "hero"; // $unit = "hero";
// global $$unit; // global $$unit;