break; // enter the map again...
}
Coordinate minuscoord = (Coordinate)coord.clone();
for(int z = 0;z < config.pldepheights_maxdistance;z++)
{
minuscoord = minuscoord.sub(currdir);
minuscoord = mapdata.adjustToMapSize(minuscoord);
if(minuscoord != null)
{
if(platemap[minuscoord.y][minuscoord.x] == currplate.getNumber())
{