aboutsummaryrefslogtreecommitdiff
path: root/player_turn.c
diff options
context:
space:
mode:
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