diff --git a/Templates/Build/16_incomming.tpl b/Templates/Build/16_incomming.tpl index d743b60f..2eac8816 100644 --- a/Templates/Build/16_incomming.tpl +++ b/Templates/Build/16_incomming.tpl @@ -50,7 +50,11 @@ function cycleMarker(moveid, el){ $isElders = ($from === 0); $owner = $isElders? 0 : $database->getVillageField($from, 'owner'); $isMine = ($owner == $session->uid); - $colspan = ($u['t11'] > 0 && $isMine)? 11 : 10; + // Issue #267: reveal the hero column whenever the incoming movement + // carries a hero, not only for our own movements. For enemy attacks the + // count stays hidden ("?") via the troops-row logic below, but the hero + // icon column must still be shown so the defender sees an incoming hero. + $colspan = ($u['t11'] > 0)? 11 : 10; $tribe = $isElders? 4 : $database->getUserField($owner, 'tribe', 0); $start = ($tribe - 1) * 10 + 1; $end = $tribe * 10; @@ -88,7 +92,7 @@ function cycleMarker(moveid, el){
![<?= $technology->getUnitName($i)?><?= isset($mtimes[$i])? ': '.$mtimes[$i] : ''?>](img/x.gif)


| = $action?> = $database->getOMInfo($m['to'])['name']?> | -|||
![]() | ![]() | ||
![]() | ![]() | ||
| = TROOPS?> | '.($v?$v:'0').'' : '? | '; } else { echo $artifactsSum['totals']==0? '? | ' : ''.($v==0?'0':'?').' | '; }