diff options
author | tron <tron@openttd.org> | 2005-12-18 12:10:46 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-18 12:10:46 +0000 |
commit | b06b3e2ca2789867580a5227ec346cd69a84eb53 (patch) | |
tree | a0ac2ff6091f2ec7e9b8c392fc45fc93c8b6b85f /misc_cmd.c | |
parent | 2956b119b26c78df4973cf077e288501baeaf649 (diff) | |
download | openttd-b06b3e2ca2789867580a5227ec346cd69a84eb53.tar.xz |
(svn r3313) Remove GPMI related changes from trunk
Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306
Diffstat (limited to 'misc_cmd.c')
-rw-r--r-- | misc_cmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc_cmd.c b/misc_cmd.c index 4b7ba122e..b8ab9b836 100644 --- a/misc_cmd.c +++ b/misc_cmd.c @@ -13,7 +13,6 @@ #include "economy.h" #include "network.h" #include "variables.h" -#include "ai/ai.h" /** Change the player's face. * @param x,y unused @@ -76,7 +75,7 @@ int32 CmdIncreaseLoan(int x, int y, uint32 flags, uint32 p1, uint32 p2) if (flags & DC_EXEC) { /* Loan the maximum amount or not? */ - int32 loan = (p2) ? _economy.max_loan - p->current_loan : (IS_HUMAN_PLAYER(_current_player) || _patches.ainew_active || _ai.gpmi) ? 10000 : 50000; + int32 loan = (p2) ? _economy.max_loan - p->current_loan : (IS_HUMAN_PLAYER(_current_player) || _patches.ainew_active) ? 10000 : 50000; p->money64 += loan; p->current_loan += loan; @@ -110,7 +109,7 @@ int32 CmdDecreaseLoan(int x, int y, uint32 flags, uint32 p1, uint32 p2) loan = max(loan, 10000); loan -= loan % 10000; } else { - loan = min(loan, (IS_HUMAN_PLAYER(_current_player) || _patches.ainew_active || _ai.gpmi) ? 10000 : 50000); + loan = min(loan, (IS_HUMAN_PLAYER(_current_player) || _patches.ainew_active) ? 10000 : 50000); } if (p->player_money < loan) { |