Fixed bug for castle caused by promotion