ai.c
changeset 1767 cda2e9ac430a
parent 1713 659ca3025cc5
child 1861 c2d4410d0684
--- a/ai.c	Thu May 05 20:46:14 2005 +0000
+++ b/ai.c	Fri May 06 06:56:30 2005 +0000
@@ -3882,14 +3882,14 @@
 	if (p->player_money > base * 1400) {
 		// Decrease loan
 		if (p->current_loan != 0) {
-			DoCommandByTile(0, _current_player, 0, DC_EXEC, CMD_DECREASE_LOAN);
+			DoCommandByTile(0, 0, 0, DC_EXEC, CMD_DECREASE_LOAN);
 		}
 	} else if (p->player_money < base * 500) {
 		// Increase loan
 		if (p->current_loan < _economy.max_loan &&
 				p->num_valid_stat_ent >= 2 &&
 				-(p->old_economy[0].expenses+p->old_economy[1].expenses) < base * 60) {
-			DoCommandByTile(0, _current_player, 0, DC_EXEC, CMD_INCREASE_LOAN);
+			DoCommandByTile(0, 0, 0, DC_EXEC, CMD_INCREASE_LOAN);
 		}
 	}
 }