(svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special

abilities you really don't want to know about (free bridges, etc..)
       I removed this flag some revisions ago, but the Aircraft part
       depends on it, so I re-enabled it again..
This commit is contained in:
truelight
2005-09-13 12:19:27 +00:00
parent 42813c5426
commit 2e87864d0b
7 changed files with 15 additions and 13 deletions

View File

@@ -457,7 +457,7 @@ do_clear:;
cost = CheckRoadSlope(ti.tileh, &pieces, existing);
if (CmdFailed(cost)) return_cmd_error(STR_1800_LAND_SLOPED_IN_WRONG_DIRECTION);
if (cost && (!_patches.build_on_slopes || (!_patches.ainew_active && _is_ai_player)))
if (cost && (!_patches.build_on_slopes || _is_old_ai_player))
return CMD_ERROR;
if (!(ti.type == MP_STREET && (ti.map5 & 0xF0) == 0)) {