equal
deleted
inserted
replaced
1138 if (!IsTileOwner(tile, old_player)) return; |
1138 if (!IsTileOwner(tile, old_player)) return; |
1139 |
1139 |
1140 if (new_player != PLAYER_SPECTATOR) { |
1140 if (new_player != PLAYER_SPECTATOR) { |
1141 SetTileOwner(tile, new_player); |
1141 SetTileOwner(tile, new_player); |
1142 } else if (IsShipDepot(tile)) { |
1142 } else if (IsShipDepot(tile)) { |
1143 DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR); |
1143 DoCommand(tile, 0, 0, DC_EXEC | DC_BANKRUPT, CMD_LANDSCAPE_CLEAR); |
1144 } else { |
1144 } else { |
1145 SetTileOwner(tile, OWNER_NONE); |
1145 SetTileOwner(tile, OWNER_NONE); |
1146 } |
1146 } |
1147 } |
1147 } |
1148 |
1148 |