From e5cc06ddd5e6f725605ccabd312bcd5c5da2aa8c Mon Sep 17 00:00:00 2001 From: Nathan Vance Date: Fri, 3 Apr 2015 19:21:20 -0400 Subject: Can now see history of previous turn --- player_turn.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'player_turn.c') 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!"); } -- cgit