From 3e5ef7319e04711fb29aac135ac6a814af4708a7 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 4 Jun 2006 09:04:40 +0000 Subject: (svn r5091) Remove duplicate code (same check twice) --- ai/trolly/trolly.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ai') 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.. -- cgit v1.2.3-70-g09d2