diff options
author | Nathan Vance <nathav63@gmail.com> | 2015-04-04 15:57:34 -0400 |
---|---|---|
committer | Nathan Vance <nathav63@gmail.com> | 2015-04-04 15:57:34 -0400 |
commit | 2e517f83554f072abf57800f06d26aea9fb51d52 (patch) | |
tree | 37e93d9255512b6c61b6a43e318b095ff471adad /trade.c | |
parent | Can now see history of previous turn (diff) | |
download | 7w-2e517f83554f072abf57800f06d26aea9fb51d52.tar.gz 7w-2e517f83554f072abf57800f06d26aea9fb51d52.tar.bz2 7w-2e517f83554f072abf57800f06d26aea9fb51d52.zip |
ai trading bug fixes
Diffstat (limited to 'trade.c')
-rw-r--r-- | trade.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 } } |