aboutsummaryrefslogtreecommitdiff
path: root/trade.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-03-24 12:34:19 -0400
committerNathan Vance <nathav63@gmail.com>2015-03-24 12:34:19 -0400
commit01d411a870580e368d6530a2eaacd9c828a258ce (patch)
tree3b429979de6008bc31b2643711b231cc9623b7b9 /trade.c
parentstarted thinking about ai trading (diff)
download7w-01d411a870580e368d6530a2eaacd9c828a258ce.tar.gz
7w-01d411a870580e368d6530a2eaacd9c828a258ce.tar.bz2
7w-01d411a870580e368d6530a2eaacd9c828a258ce.zip
Implemented ai trading (buggy)
Diffstat (limited to 'trade.c')
-rw-r--r--trade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trade.c b/trade.c
index 4299bb8..8c7cb98 100644
--- a/trade.c
+++ b/trade.c
@@ -51,7 +51,7 @@ void trade_clear(int player)
tradebuffer[i][j] = 0;
}
-void trade_set(int player, int **trade)
+void trade_set(int player, int trade[3][GOLD])
{
trade_clear(player);
int i, j;
bgstack15