aboutsummaryrefslogtreecommitdiff
path: root/ai.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-04-04 15:57:34 -0400
committerNathan Vance <nathav63@gmail.com>2015-04-04 15:57:34 -0400
commit2e517f83554f072abf57800f06d26aea9fb51d52 (patch)
tree37e93d9255512b6c61b6a43e318b095ff471adad /ai.c
parentCan now see history of previous turn (diff)
download7w-2e517f83554f072abf57800f06d26aea9fb51d52.tar.gz
7w-2e517f83554f072abf57800f06d26aea9fb51d52.tar.bz2
7w-2e517f83554f072abf57800f06d26aea9fb51d52.zip
ai trading bug fixes
Diffstat (limited to 'ai.c')
-rw-r--r--ai.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ai.c b/ai.c
index b872ef5..4b84e77 100644
--- a/ai.c
+++ b/ai.c
@@ -66,6 +66,8 @@ void ai_turn(int player)
for(i = 0; i < 2; i++) {
data_addgold(bestcard[2+i], data_getdir(i, player));
}
+ //data_addgold(bestcard[2], data_geteast(player));
+ //data_addgold(bestcard[3], data_getwest(player));
write_trade(player, bestcard[2], bestcard[3]);
data_addgold(bestcard[4] * -1, player);
return;
bgstack15