Mercurial > hg > openttd
changeset 3945:44021c8fce85 draft
(svn r5091) Remove duplicate code (same check twice)
author | tron <tron@openttd.org> |
---|---|
date | Sun, 04 Jun 2006 09:04:40 +0000 |
parents | 9b0cfceb17d1 |
children | de25032d7ef1 |
files | ai/trolly/trolly.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/ai/trolly/trolly.c +++ b/ai/trolly/trolly.c @@ -155,14 +155,6 @@ 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..