Add a special case for retraction bridge direction

develop
Japa 2017-05-23 21:41:34 +05:30
parent 3f98cd3da0
commit 2d6dab0f24
2 changed files with 2 additions and 0 deletions

@ -98,6 +98,7 @@ enum BuildingDirection
EAST = 1;
SOUTH = 2;
WEST = 3;
NONE = 4;
}
enum TileDigDesignation

@ -366,6 +366,7 @@ void CopyBuilding(int buildingIndex, RemoteFortressReader::BuildingInstance * re
switch (direction)
{
case df::building_bridgest::Retracting:
remote_build->set_direction(NONE);
break;
case df::building_bridgest::Left:
remote_build->set_direction(WEST);