From 2e517f83554f072abf57800f06d26aea9fb51d52 Mon Sep 17 00:00:00 2001 From: Nathan Vance Date: Sat, 4 Apr 2015 15:57:34 -0400 Subject: ai trading bug fixes --- trade.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'trade.c') diff --git a/trade.c b/trade.c index d78fe4f..1a187b1 100644 --- a/trade.c +++ b/trade.c @@ -53,13 +53,12 @@ void trade_clear(int player) void trade_set(int player, int trade[3][GOLD]) { - trade_clear(player); int i, j; for(i = 0; i < 3; i++) { for(j = 0; j < GOLD; j++) { tradebuffer[i][j] = trade[i][j]; - tradebuffer[i][GOLD] = 0; //we deal with gold in the method that calls this } + tradebuffer[i][GOLD] = 0; //we deal with gold in the method that calls this } } -- cgit