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
commit7dff47b7f09d0b9dfbaeaf2445d54075e83e5ed9 (patch)
tree17eb7dc56b282040e5c5f67a7482fc1c7001cd1f /ai
parenta0b53c1b653635ea1b47e27b2b77b86a0419621d (diff)
downloadopenttd-7dff47b7f09d0b9dfbaeaf2445d54075e83e5ed9.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..