summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-04 09:04:40 +0000
committertron <tron@openttd.org>2006-06-04 09:04:40 +0000
commit3e5ef7319e04711fb29aac135ac6a814af4708a7 (patch)
tree17eb7dc56b282040e5c5f67a7482fc1c7001cd1f /ai
parent42c7bc650729bcfd07a4206993cd5acce1aaa3ee (diff)
downloadopenttd-3e5ef7319e04711fb29aac135ac6a814af4708a7.tar.xz
(svn r5091) Remove duplicate code (same check twice)
Diffstat (limited to 'ai')
-rw-r--r--ai/trolly/trolly.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ai/trolly/trolly.c b/ai/trolly/trolly.c
index 89d9ca7d2..52cf573e3 100644
--- a/ai/trolly/trolly.c
+++ b/ai/trolly/trolly.c
@@ -155,14 +155,6 @@ static void AiNew_State_WakeUp(Player *p)
return;
}
- if (_patches.ai_disable_veh_roadveh && (
- p->ainew.action == AI_ACTION_BUS_ROUTE ||
- p->ainew.action == AI_ACTION_TRUCK_ROUTE
- )) {
- p->ainew.action = AI_ACTION_NONE;
- return;
- }
-
if (p->ainew.action == AI_ACTION_REPAY_LOAN &&
money > AI_MINIMUM_LOAN_REPAY_MONEY) {
// We start repaying some money..