Permalink
Browse files

HideMoves now takes care of the transform command too...

  • Loading branch information...
1 parent 0131b67 commit fc7f645e583c920cd1d0848e0641a240164baf07 @Sleepcap committed Apr 30, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 map.php
View
@@ -346,7 +346,8 @@
if ( $moveType == 'Support hold' )
{
- if (!HIDEMOVES) $drawMap->drawSupportHold($terrID,
+ // The "&& $toTerrID < 1000" needs to be added, because of the fake SupportHold in the Trafo-command.
+ if (!HIDEMOVES || $toTerrID > 999) $drawMap->drawSupportHold($terrID,
isset($deCoastMap['SupportHoldToTerrID'][$toTerrID]) ? $deCoastMap['SupportHoldToTerrID'][$toTerrID] : $toTerrID,
$success);
}

0 comments on commit fc7f645

Please sign in to comment.