aboutsummaryrefslogtreecommitdiff
path: root/player_turn.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-04-03 19:21:20 -0400
committerNathan Vance <nathav63@gmail.com>2015-04-03 19:21:20 -0400
commite5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c (patch)
tree42fde640ee2a6f3a0e85a74cb364805d8525abc5 /player_turn.c
parentHalicarnassus bug fixes (diff)
download7w-e5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c.tar.gz
7w-e5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c.tar.bz2
7w-e5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c.zip
Can now see history of previous turn
Diffstat (limited to 'player_turn.c')
-rw-r--r--player_turn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/player_turn.c b/player_turn.c
index da2e6f7..62e2ff4 100644
--- a/player_turn.c
+++ b/player_turn.c
@@ -26,6 +26,8 @@ int trade_routine(int x, int y, int player);
void trade_commit(int player);
int data_spendfreebuild();
int postyn(int x, int y, char *message);
+void write_trade(int player, int tradel, int trader);
+
void halt();
int player_build(int focus, int cursor, int player, int y)
@@ -54,7 +56,7 @@ int player_build(int focus, int cursor, int player, int y)
if(data_getnextwonderstage(player) == -1) {
postmessage("Wonder already complete.");
} else if(data_canafford(player, data_getwonder(player), data_getnextwonderstage(player))) {
- data_buildwonder(player, hand[cursor]);
+ data_buildwonder(player, hand[cursor]);
return 1;
} else postmessage("Can't afford this!");
}
bgstack15