(svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911)

This commit is contained in:
celestar
2006-12-27 13:48:57 +00:00
parent eec3010fcf
commit 091cc1cc4b
2 changed files with 2 additions and 6 deletions

View File

@@ -1615,9 +1615,8 @@ clear_town_stuff:;
/* signals too? */
if (j & 3) {
/* XXX - we need to check manually whether we can build a signal if DC_EXEC is
not set because the rail has not actually been built */
if (!IsTileType(c, MP_RAILWAY)) return CMD_ERROR;
// Can't build signals on a road.
if (IsTileType(c, MP_STREET)) return CMD_ERROR;
if (flag & DC_EXEC) {
j = 4 - j;