fix unit icons in report, now you can see when your reinforcemnt scouted if the village without spys, and update Templates/Build/16_incomming.tpl: now when your reinforcement return you can see the troops number instead ?

This commit is contained in:
unknown
2012-04-20 15:27:04 +03:00
parent f21b3894f4
commit 391fc183c0
18 changed files with 46 additions and 17 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ $to = $database->getMInfo($units[$y]['vref']);
<tr><th>Troops</th>
<?php
for($i=1;$i<($units[$y]['t11'] != 0?12:11);$i++) {
if($units[$y]['attack_type']!=2){
if($units[$y]['attack_type']!=2 or $units[$y]['from']==$village->wid){
if($units[$y]['t'.$i] == 0) {
echo "<td class=\"none\">0</td>";
}